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.001906/0.001906, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.002727/0.002727, allocations: 205.1 kB / 24.48 MB, free: 3.695 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.526/1.526, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.2385/0.2385, allocations: 46.96 MB / 361.6 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 179] 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.002311/0.002311, allocations: 67.89 kB / 0.4973 GB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3575, allocations: 66.03 MB / 0.5618 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.004356/0.3619, allocations: 2.478 MB / 0.5642 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001542/0.3634, allocations: 0.6973 MB / 0.5649 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001481/0.3635, allocations: 11.94 kB / 0.5649 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000163/0.3637, allocations: 43.52 kB / 0.5649 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001986/0.3639, allocations: 91.19 kB / 0.565 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003376/0.3642, allocations: 103.8 kB / 0.5651 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004257/0.3647, allocations: 330.6 kB / 0.5654 GB, free: 436 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001866/0.3649, allocations: 62.05 kB / 0.5655 GB, free: 364 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002703/0.3651, allocations: 143.5 kB / 0.5656 GB, free: 220 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001959/0.3653, allocations: 131.3 kB / 0.5658 GB, free: 88 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.824e-05/0.3654, allocations: 27.94 kB / 0.5658 GB, free: 60 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.674e-05/0.3654, allocations: 28 kB / 0.5658 GB, free: 32 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.948e-05/0.3655, allocations: 63.77 kB / 0.5659 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.3657, allocations: 115.4 kB / 0.566 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000426/0.3661, allocations: 313 kB / 0.5663 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3661, allocations: 0 / 0.5663 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3661, allocations: 4 kB / 0.5663 GB, free: 15.55 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.3661, allocations: 0 / 0.5663 GB, free: 15.55 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.001014/0.3671, allocations: 0.5284 MB / 0.5668 GB, free: 14.99 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.3672, allocations: 8.031 kB / 0.5668 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002525/0.3674, allocations: 52.72 kB / 0.5669 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004632/0.3679, allocations: 206 kB / 0.5671 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.3679, allocations: 20.88 kB / 0.5671 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.455e-05/0.368, allocations: 32.33 kB / 0.5671 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005347/0.3685, allocations: 281.4 kB / 0.5674 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.502e-05/0.3685, allocations: 7.953 kB / 0.5674 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.507e-05/0.3685, allocations: 8 kB / 0.5674 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.3686, allocations: 8 kB / 0.5674 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004213/0.369, allocations: 190.2 kB / 0.5676 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001687/0.3707, allocations: 1.149 MB / 0.5687 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000454/0.3711, allocations: 234.5 kB / 0.5689 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002081/0.3713, allocations: 95.39 kB / 0.569 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-05/0.3714, allocations: 8 kB / 0.569 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.3714, allocations: 42.5 kB / 0.5691 GB, free: 12.49 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.874e-06/0.3714, allocations: 0 / 0.5691 GB, free: 12.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.002613/0.374, allocations: 1.209 MB / 0.5703 GB, free: 11.17 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.476e-05/0.3741, allocations: 136.5 kB / 0.5704 GB, free: 11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002649/0.3743, allocations: 233 kB / 0.5706 GB, free: 10.76 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.3744, allocations: 29.7 kB / 0.5706 GB, free: 10.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.3745, allocations: 180.5 kB / 0.5708 GB, free: 10.55 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.3746, allocations: 123 kB / 0.5709 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.3747, allocations: 70.09 kB / 0.571 GB, free: 10.35 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.3749, allocations: 338.8 kB / 0.5713 GB, free: 10.01 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002639/0.3752, allocations: 102.1 kB / 0.5714 GB, free: 9.914 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003659/0.3755, allocations: 241.4 kB / 0.5716 GB, free: 9.621 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006538/0.3762, allocations: 369.5 kB / 0.572 GB, free: 9.199 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3762, allocations: 3.938 kB / 0.572 GB, free: 9.195 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008158/0.377, allocations: 401.4 kB / 0.5724 GB, free: 8.797 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.377, allocations: 8 kB / 0.5724 GB, free: 8.789 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.377, allocations: 4 kB / 0.5724 GB, free: 8.785 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.716e-05/0.3771, allocations: 11.98 kB / 0.5724 GB, free: 8.773 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004167/0.3775, allocations: 99.81 kB / 0.5725 GB, free: 8.676 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.576e-05/0.3775, allocations: 16.3 kB / 0.5725 GB, free: 8.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002277/0.3777, allocations: 31.92 kB / 0.5725 GB, free: 8.629 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.984e-05/0.3777, allocations: 16 kB / 0.5726 GB, free: 8.613 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.00017/0.3779, allocations: 153.7 kB / 0.5727 GB, free: 8.453 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.378, allocations: 31.75 kB / 0.5727 GB, free: 8.422 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.867e-05/0.3781, allocations: 33.7 kB / 0.5728 GB, free: 8.387 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.3781, allocations: 4 kB / 0.5728 GB, free: 8.383 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.3781, allocations: 0 / 0.5728 GB, free: 8.383 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.3781, allocations: 3.984 kB / 0.5728 GB, free: 8.379 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001506/0.3796, allocations: 0.884 MB / 0.5736 GB, free: 7.449 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.3796, allocations: 0 / 0.5736 GB, free: 7.449 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003799/0.38, allocations: 79.89 kB / 0.5737 GB, free: 7.371 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.38, allocations: 8.062 kB / 0.5737 GB, free: 7.363 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.628e-05/0.3801, allocations: 11.98 kB / 0.5737 GB, free: 7.352 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.217e-06/0.3801, allocations: 0 / 0.5737 GB, free: 7.352 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/0.3801, allocations: 7.938 kB / 0.5737 GB, free: 7.344 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.3812, allocations: 0.731 MB / 0.5745 GB, free: 6.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.041e-05/0.3812, allocations: 31.75 kB / 0.5745 GB, free: 6.559 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.699e-05/0.3813, allocations: 16.06 kB / 0.5745 GB, free: 6.543 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003033/0.3816, allocations: 15.98 kB / 0.5745 GB, free: 6.527 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.037e-05/0.3817, allocations: 31.89 kB / 0.5745 GB, free: 6.496 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.3817, allocations: 7.984 kB / 0.5746 GB, free: 6.488 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001594/0.3818, allocations: 160.5 kB / 0.5747 GB, free: 6.328 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3818, allocations: 3.938 kB / 0.5747 GB, free: 6.324 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005125/0.3824, allocations: 64 kB / 0.5748 GB, free: 6.262 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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 Backend phase and start with SimCode phase: time 0.0001333/0.3825, allocations: 111.4 kB / 0.5749 GB, free: 6.145 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006428/0.3831, allocations: 268.3 kB / 0.5751 GB, free: 5.883 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.3831, allocations: 4 kB / 0.5751 GB, free: 5.879 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002811/0.3834, allocations: 127.9 kB / 0.5753 GB, free: 5.754 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006388/0.3841, allocations: 48.22 kB / 0.5753 GB, free: 5.711 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/0.3856, allocations: 0.9058 MB / 0.5762 GB, free: 4.758 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001881/0.3858, allocations: 168.1 kB / 0.5764 GB, free: 4.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.3859, allocations: 35.42 kB / 0.5764 GB, free: 4.535 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3859, allocations: 0 / 0.5764 GB, free: 4.535 MB / 414.1 MB Notification: Performance of Templates: time 0.006247/0.3922, allocations: 3.518 MB / 0.5798 GB, free: 1.02 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: 8.14170811700751]