Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 110.8 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 211.6 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.463/1.463, allocations: 230.6 MB / 258.3 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2273/0.2273, allocations: 46.97 MB / 361.6 MB, free: 4.137 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed") translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 63.91 kB / 0.4973 GB, free: 7.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3329, allocations: 66.03 MB / 0.5618 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.004061/0.337, allocations: 2.47 MB / 0.5642 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001409/0.3384, allocations: 0.7011 MB / 0.5649 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001504/0.3385, allocations: 11.94 kB / 0.5649 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001689/0.3387, allocations: 43.52 kB / 0.5649 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001957/0.3389, allocations: 87.2 kB / 0.565 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003246/0.3392, allocations: 103.8 kB / 0.5651 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003973/0.3396, allocations: 334.5 kB / 0.5654 GB, free: 444 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001829/0.3398, allocations: 68.88 kB / 0.5655 GB, free: 368 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000242/0.34, allocations: 139.5 kB / 0.5656 GB, free: 228 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002393/0.3403, allocations: 135.3 kB / 0.5658 GB, free: 92 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.168e-05/0.3403, allocations: 24 kB / 0.5658 GB, free: 68 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.049e-05/0.3404, allocations: 24 kB / 0.5658 GB, free: 44 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.3405, allocations: 59.78 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.3406, allocations: 119.4 kB / 0.566 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003834/0.341, allocations: 306.4 kB / 0.5663 GB, free: 15.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.786e-06/0.341, allocations: 8 kB / 0.5663 GB, free: 15.56 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.341, allocations: 0 / 0.5663 GB, free: 15.56 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.341, allocations: 0 / 0.5663 GB, free: 15.56 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.000982/0.342, allocations: 0.5284 MB / 0.5668 GB, free: 15 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.3421, allocations: 8.031 kB / 0.5668 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002633/0.3423, allocations: 56.72 kB / 0.5669 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003824/0.3427, allocations: 206 kB / 0.5671 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.807e-05/0.3427, allocations: 24.86 kB / 0.5671 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.802e-05/0.3428, allocations: 32.33 kB / 0.5671 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005348/0.3433, allocations: 285.4 kB / 0.5674 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/0.3434, allocations: 7.953 kB / 0.5674 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.606e-05/0.3434, allocations: 8 kB / 0.5674 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.3434, allocations: 8 kB / 0.5674 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004445/0.3438, allocations: 183.7 kB / 0.5676 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001718/0.3456, allocations: 1.157 MB / 0.5687 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004295/0.346, allocations: 230.5 kB / 0.5689 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002135/0.3462, allocations: 99.33 kB / 0.569 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.3462, allocations: 8 kB / 0.569 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/0.3463, allocations: 34.56 kB / 0.5691 GB, free: 12.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.893e-06/0.3463, allocations: 7.938 kB / 0.5691 GB, free: 12.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.002519/0.3488, allocations: 1.198 MB / 0.5703 GB, free: 11.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.407e-05/0.3489, allocations: 136.5 kB / 0.5704 GB, free: 11.01 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002584/0.3491, allocations: 237 kB / 0.5706 GB, free: 10.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.3491, allocations: 29.7 kB / 0.5706 GB, free: 10.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.3493, allocations: 180.5 kB / 0.5708 GB, free: 10.55 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.3494, allocations: 123 kB / 0.5709 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.3495, allocations: 70.09 kB / 0.571 GB, free: 10.36 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.3497, allocations: 342.8 kB / 0.5713 GB, free: 10.01 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002597/0.3499, allocations: 100.8 kB / 0.5714 GB, free: 9.914 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003529/0.3503, allocations: 233.6 kB / 0.5716 GB, free: 9.629 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006694/0.351, allocations: 385.2 kB / 0.572 GB, free: 9.191 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.351, allocations: 0 / 0.572 GB, free: 9.191 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008075/0.3518, allocations: 389 kB / 0.5724 GB, free: 8.805 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.3518, allocations: 14.59 kB / 0.5724 GB, free: 8.793 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.3518, allocations: 4 kB / 0.5724 GB, free: 8.789 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.3518, allocations: 4 kB / 0.5724 GB, free: 8.785 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004078/0.3522, allocations: 103.8 kB / 0.5725 GB, free: 8.684 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.972e-05/0.3522, allocations: 12.33 kB / 0.5725 GB, free: 8.672 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000218/0.3525, allocations: 31.92 kB / 0.5725 GB, free: 8.641 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.968e-05/0.3525, allocations: 16 kB / 0.5726 GB, free: 8.625 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001716/0.3527, allocations: 149.7 kB / 0.5727 GB, free: 8.469 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.3528, allocations: 35.75 kB / 0.5727 GB, free: 8.434 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.991e-05/0.3529, allocations: 37.7 kB / 0.5728 GB, free: 8.395 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.3529, allocations: 4.297 kB / 0.5728 GB, free: 8.391 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3529, allocations: 0 / 0.5728 GB, free: 8.391 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.391e-05/0.3529, allocations: 27.98 kB / 0.5728 GB, free: 8.363 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.362e-05/0.353, allocations: 12 kB / 0.5728 GB, free: 8.352 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002873/0.3533, allocations: 19.98 kB / 0.5728 GB, free: 8.332 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.826e-05/0.3533, allocations: 31.94 kB / 0.5729 GB, free: 8.301 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00102/0.3544, allocations: 0.6194 MB / 0.5735 GB, free: 7.672 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001115/0.3555, allocations: 0.8103 MB / 0.5743 GB, free: 6.844 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002631/0.3557, allocations: 111.9 kB / 0.5744 GB, free: 6.734 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001627/0.3559, allocations: 164.5 kB / 0.5745 GB, free: 6.57 MB / 414.1 MB Notification: Performance of Backend: time 4.51e-07/0.3559, allocations: 0 / 0.5745 GB, free: 6.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009899/0.3569, allocations: 246.1 kB / 0.5748 GB, free: 6.324 MB / 414.1 MB Notification: Performance of SimCode: time 0.001667/0.3586, allocations: 1.298 MB / 0.576 GB, free: 4.98 MB / 414.1 MB Notification: Performance of Templates: time 0.008096/0.3666, allocations: 3.628 MB / 0.5796 GB, free: 1.387 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.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: 5.123205101001076]