Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001248/0.001248, allocations: 114 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001398/0.001398, allocations: 214.8 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 230.2 MB / 257.8 MB, free: 8.492 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2311/0.2311, allocations: 46.9 MB / 361.1 MB, free: 4.633 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") translateModel(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002275/0.002275, allocations: 79.86 kB / 0.4968 GB, free: 7.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.3629, allocations: 65.99 MB / 0.5612 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain): time 0.003328/0.3663, allocations: 1.936 MB / 0.5631 GB, free: 3.074 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.3674, allocations: 0.5815 MB / 0.5637 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.3675, allocations: 4 kB / 0.5637 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001509/0.3676, allocations: 15.8 kB / 0.5637 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.3677, allocations: 43.64 kB / 0.5637 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002551/0.368, allocations: 51.86 kB / 0.5638 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002143/0.3682, allocations: 151.3 kB / 0.5639 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001975/0.3684, allocations: 45.64 kB / 0.5639 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001918/0.3686, allocations: 67.77 kB / 0.564 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.3688, allocations: 67.7 kB / 0.5641 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.648e-05/0.3688, allocations: 12 kB / 0.5641 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.93e-05/0.3688, allocations: 16 kB / 0.5641 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.837e-05/0.3689, allocations: 31.86 kB / 0.5641 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.796e-05/0.369, allocations: 67.66 kB / 0.5642 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002604/0.3692, allocations: 158 kB / 0.5644 GB, free: 1.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.3692, allocations: 0 / 0.5644 GB, free: 1.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3692, allocations: 3.938 kB / 0.5644 GB, free: 1.766 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.3692, allocations: 0 / 0.5644 GB, free: 1.766 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007626/0.37, allocations: 442.8 kB / 0.5648 GB, free: 1.285 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.37, allocations: 8.031 kB / 0.5648 GB, free: 1.277 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001813/0.3702, allocations: 24.83 kB / 0.5648 GB, free: 1.254 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003333/0.3706, allocations: 212.1 kB / 0.565 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.3706, allocations: 8.375 kB / 0.565 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.116e-05/0.3706, allocations: 16.33 kB / 0.565 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003096/0.3709, allocations: 129.8 kB / 0.5652 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.3709, allocations: 4 kB / 0.5652 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.906e-05/0.371, allocations: 4 kB / 0.5652 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.371, allocations: 4 kB / 0.5652 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001983/0.3712, allocations: 87.88 kB / 0.5653 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007498/0.3719, allocations: 464.3 kB / 0.5657 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002312/0.3721, allocations: 114.5 kB / 0.5658 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.3723, allocations: 56.83 kB / 0.5659 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.3723, allocations: 0 / 0.5659 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.3723, allocations: 38.5 kB / 0.5659 GB, free: 24 kB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 9.92e-07/0.3723, allocations: 0 / 0.5659 GB, free: 24 kB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.001627/0.3739, allocations: 0.8058 MB / 0.5667 GB, free: 15.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.374, allocations: 55.41 kB / 0.5667 GB, free: 15.06 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.3741, allocations: 147.6 kB / 0.5669 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.3742, allocations: 29.7 kB / 0.5669 GB, free: 14.87 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.434e-05/0.3742, allocations: 112.4 kB / 0.567 GB, free: 14.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.365e-05/0.3743, allocations: 75.39 kB / 0.5671 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.15e-05/0.3744, allocations: 37.7 kB / 0.5671 GB, free: 14.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.3745, allocations: 322.8 kB / 0.5674 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.623e-05/0.3746, allocations: 35.98 kB / 0.5675 GB, free: 14.28 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.3747, allocations: 87.28 kB / 0.5675 GB, free: 14.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002325/0.375, allocations: 135.3 kB / 0.5677 GB, free: 14.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.375, allocations: 0 / 0.5677 GB, free: 14.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000393/0.3754, allocations: 214.2 kB / 0.5679 GB, free: 13.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.3754, allocations: 6.344 kB / 0.5679 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.3754, allocations: 3.938 kB / 0.5679 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001882/0.3756, allocations: 48.94 kB / 0.5679 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/0.3758, allocations: 31.97 kB / 0.568 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001696/0.3775, allocations: 1.736 MB / 0.5697 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.399e-05/0.3775, allocations: 4 kB / 0.5697 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.3775, allocations: 4 kB / 0.5697 GB, free: 11.84 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001224/0.3777, allocations: 133.8 kB / 0.5698 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.043e-05/0.3777, allocations: 19.97 kB / 0.5698 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.546e-05/0.3777, allocations: 17.19 kB / 0.5698 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.3778, allocations: 4 kB / 0.5698 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.3778, allocations: 3.938 kB / 0.5698 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.545e-05/0.3778, allocations: 92.98 kB / 0.5699 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.3778, allocations: 0 / 0.5699 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.274e-05/0.3779, allocations: 4.188 kB / 0.5699 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.302e-05/0.378, allocations: 15.97 kB / 0.5699 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006078/0.3786, allocations: 307.1 kB / 0.5702 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005032/0.3791, allocations: 401.5 kB / 0.5706 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001083/0.3792, allocations: 51.97 kB / 0.5707 GB, free: 10.76 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.661e-05/0.3793, allocations: 111.3 kB / 0.5708 GB, free: 10.65 MB / 414.1 MB Notification: Performance of Backend: time 4.21e-07/0.3793, allocations: 0 / 0.5708 GB, free: 10.65 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007749/0.3801, allocations: 296 kB / 0.5711 GB, free: 10.34 MB / 414.1 MB Notification: Performance of SimCode: time 0.001143/0.3812, allocations: 0.9033 MB / 0.5719 GB, free: 9.395 MB / 414.1 MB Notification: Performance of Templates: time 0.005627/0.3868, allocations: 1.868 MB / 0.5738 GB, free: 7.531 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/SimpleDriveTrain/SimpleDriveTrain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.846679366193712]