Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 221.5 MB / 230.7 MB, free: 7.523 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000913/0.000913, allocations: 96.36 kB / 281.6 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.191/0.191, allocations: 44.15 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.492e-05/1.494e-05, allocations: 4.219 kB / 444.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1225, allocations: 61.92 MB / 0.4947 GB, free: 1.266 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4403/0.5629, allocations: 85.1 MB / 0.5778 GB, free: 11.44 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002248/0.5632, allocations: 67.95 kB / 0.5778 GB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005647/0.5688, allocations: 2.055 MB / 0.5798 GB, free: 9.328 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.664e-06/0.5689, allocations: 0 / 0.5798 GB, free: 9.328 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.5689, allocations: 4 kB / 0.5798 GB, free: 9.324 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0004489/0.5694, allocations: 370.5 kB / 0.5802 GB, free: 8.914 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.5694, allocations: 15.92 kB / 0.5802 GB, free: 8.898 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.626e-05/0.5695, allocations: 11.91 kB / 0.5802 GB, free: 8.887 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.5696, allocations: 178.8 kB / 0.5804 GB, free: 8.672 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.5697, allocations: 4 kB / 0.5804 GB, free: 8.668 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.783e-05/0.5697, allocations: 12 kB / 0.5804 GB, free: 8.656 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001262/0.5698, allocations: 56.34 kB / 0.5805 GB, free: 8.602 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.57, allocations: 108.8 kB / 0.5806 GB, free: 8.484 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.5701, allocations: 4 kB / 0.5806 GB, free: 8.48 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.5701, allocations: 0 / 0.5806 GB, free: 8.48 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.5701, allocations: 4 kB / 0.5806 GB, free: 8.477 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006809/0.5708, allocations: 0.5065 MB / 0.5811 GB, free: 7.922 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.5709, allocations: 77.09 kB / 0.5811 GB, free: 7.828 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.527e-05/0.5709, allocations: 21.72 kB / 0.5812 GB, free: 7.801 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.571, allocations: 192 / 0.5812 GB, free: 7.801 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.571, allocations: 46.5 kB / 0.5812 GB, free: 7.746 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.571, allocations: 0 / 0.5812 GB, free: 7.746 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002856/0.5713, allocations: 91.33 kB / 0.5813 GB, free: 7.645 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.5714, allocations: 85.05 kB / 0.5814 GB, free: 7.543 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.346e-05/0.5714, allocations: 116.8 kB / 0.5815 GB, free: 7.422 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.5715, allocations: 28.66 kB / 0.5815 GB, free: 7.391 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.766e-05/0.5715, allocations: 115.6 kB / 0.5816 GB, free: 7.273 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.3e-05/0.5716, allocations: 31.55 kB / 0.5817 GB, free: 7.242 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-06/0.5716, allocations: 0 / 0.5817 GB, free: 7.242 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.5717, allocations: 318.8 kB / 0.582 GB, free: 6.922 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.709e-05/0.5717, allocations: 20 kB / 0.582 GB, free: 6.902 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.48e-05/0.5718, allocations: 82.28 kB / 0.5821 GB, free: 6.793 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.458e-05/0.5719, allocations: 37.05 kB / 0.5821 GB, free: 6.758 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.5719, allocations: 0 / 0.5821 GB, free: 6.758 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002408/0.5721, allocations: 151.1 kB / 0.5822 GB, free: 6.598 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.5721, allocations: 8 kB / 0.5822 GB, free: 6.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.5722, allocations: 3.984 kB / 0.5823 GB, free: 6.586 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001488/0.5723, allocations: 41.97 kB / 0.5823 GB, free: 6.539 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.469e-05/0.5724, allocations: 23.92 kB / 0.5823 GB, free: 6.516 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001571/0.574, allocations: 2.427 MB / 0.5847 GB, free: 3.859 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.926e-05/0.5741, allocations: 12 kB / 0.5847 GB, free: 3.848 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.5741, allocations: 4 kB / 0.5847 GB, free: 3.844 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.998e-05/0.5742, allocations: 112.9 kB / 0.5848 GB, free: 3.727 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.066e-05/0.5742, allocations: 4 kB / 0.5848 GB, free: 3.723 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.737e-05/0.5743, allocations: 16.33 kB / 0.5848 GB, free: 3.703 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.5743, allocations: 0 / 0.5848 GB, free: 3.703 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.5743, allocations: 0 / 0.5848 GB, free: 3.703 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.5743, allocations: 7.875 kB / 0.5848 GB, free: 3.695 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002129/0.5745, allocations: 182 kB / 0.585 GB, free: 3.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.5745, allocations: 96 / 0.585 GB, free: 3.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.054e-05/0.5746, allocations: 19.98 kB / 0.585 GB, free: 3.461 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.802e-05/0.5747, allocations: 29.7 kB / 0.5851 GB, free: 3.426 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.5747, allocations: 7.828 kB / 0.5851 GB, free: 3.422 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001484/0.5762, allocations: 2.422 MB / 0.5874 GB, free: 0.7695 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.5762, allocations: 4.031 kB / 0.5874 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002728/0.5765, allocations: 311.1 kB / 0.5877 GB, free: 444 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.413e-05/0.5765, allocations: 81.02 kB / 0.5878 GB, free: 344 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.5766, allocations: 4 kB / 0.5878 GB, free: 340 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.625e-05/0.5767, allocations: 0 / 0.5878 GB, free: 340 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.569e-05/0.5767, allocations: 15.98 kB / 0.5878 GB, free: 324 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.5767, allocations: 0 / 0.5878 GB, free: 324 kB / 394.7 MB Notification: Performance of sorting global known variables: time 4.536e-05/0.5768, allocations: 91.27 kB / 0.5879 GB, free: 232 kB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5768, allocations: 0 / 0.5879 GB, free: 232 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003739/0.5771, allocations: 40.09 kB / 0.588 GB, free: 192 kB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.phi,J2.w,J3.phi,J4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001153/0.5773, allocations: 104.4 kB / 0.588 GB, free: 80 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003377/0.5776, allocations: 271.7 kB / 0.5883 GB, free: 15.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.5776, allocations: 0 / 0.5883 GB, free: 15.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000217/0.5778, allocations: 244.2 kB / 0.5885 GB, free: 15.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/0.5782, allocations: 22.03 kB / 0.5886 GB, free: 15.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005655/0.5788, allocations: 397.6 kB / 0.5889 GB, free: 15.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/0.579, allocations: 0.7123 MB / 0.5896 GB, free: 14.36 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.151e-05/0.5791, allocations: 8.875 kB / 0.5896 GB, free: 14.35 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.671e-05/0.5791, allocations: 11.44 kB / 0.5897 GB, free: 14.34 MB / 410.7 MB Notification: Performance of SimCode: time 3.41e-07/0.5791, allocations: 0 / 0.5897 GB, free: 14.34 MB / 410.7 MB Notification: Performance of Templates: time 0.003517/0.5826, allocations: 1.339 MB / 0.591 GB, free: 13.01 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches