Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs") translateModel(ModelicaTest.Rotational.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 110.6 kB / 16.41 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 191.4 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.713/1.713, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.267/0.267, allocations: 43.52 MB / 314.1 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001691/0.001691, allocations: 65.47 kB / 441.8 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1437, allocations: 57.79 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.007462/0.1512, allocations: 5.76 MB / 0.4935 GB, free: 6.008 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004331/0.1556, allocations: 2.326 MB / 0.4958 GB, free: 3.672 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005522/0.1561, allocations: 39.75 kB / 0.4958 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005259/0.1567, allocations: 230 kB / 0.496 GB, free: 3.406 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003907/0.1571, allocations: 178.3 kB / 0.4962 GB, free: 3.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.1581, allocations: 466.9 kB / 0.4966 GB, free: 2.773 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001214/0.1594, allocations: 1.122 MB / 0.4977 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008942/0.1603, allocations: 0.6146 MB / 0.4983 GB, free: 1.004 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004429/0.1607, allocations: 374.7 kB / 0.4987 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004405/0.1612, allocations: 394 kB / 0.4991 GB, free: 256 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001239/0.1613, allocations: 99.94 kB / 0.4992 GB, free: 156 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002563/0.1616, allocations: 144 kB / 0.4993 GB, free: 12 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002474/0.1618, allocations: 215.4 kB / 0.4995 GB, free: 15.8 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005071/0.1623, allocations: 477.6 kB / 0.5 GB, free: 15.33 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001296/0.1636, allocations: 1.265 MB / 0.5012 GB, free: 14.06 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.305e-06/0.1637, allocations: 4 kB / 0.5012 GB, free: 14.06 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1637, allocations: 0 / 0.5012 GB, free: 14.06 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.476e-05/0.1637, allocations: 0 / 0.5012 GB, free: 14.06 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.001601/0.1653, allocations: 1.131 MB / 0.5023 GB, free: 12.88 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/0.1654, allocations: 15.89 kB / 0.5023 GB, free: 12.86 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001453/0.1655, allocations: 99.72 kB / 0.5024 GB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009109/0.1664, allocations: 0.5942 MB / 0.503 GB, free: 12.13 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.953e-05/0.1665, allocations: 69.94 kB / 0.5031 GB, free: 12.06 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001868/0.1667, allocations: 92 kB / 0.5031 GB, free: 11.97 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001488/0.1682, allocations: 0.8892 MB / 0.504 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.422e-05/0.1682, allocations: 11.91 kB / 0.504 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-05/0.1683, allocations: 36 kB / 0.5041 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.637e-05/0.1684, allocations: 24 kB / 0.5041 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.1695, allocations: 0.519 MB / 0.5046 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004241/0.1737, allocations: 3.607 MB / 0.5081 GB, free: 6.664 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006369/0.1744, allocations: 226.6 kB / 0.5083 GB, free: 6.434 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001891/0.1746, allocations: 104.8 kB / 0.5084 GB, free: 6.328 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002857/0.1749, allocations: 247.3 kB / 0.5087 GB, free: 6.031 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.727e-05/0.1749, allocations: 38.56 kB / 0.5087 GB, free: 5.984 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 1.944e-06/0.1749, allocations: 0 / 0.5087 GB, free: 5.984 MB / 398.1 MB Notification: Performance of matching and sorting (n=35): time 0.00259/0.1775, allocations: 1.291 MB / 0.51 GB, free: 4.598 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.794e-05/0.1776, allocations: 63.34 kB / 0.51 GB, free: 4.523 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004509/0.1781, allocations: 401.8 kB / 0.5104 GB, free: 4.125 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.1781, allocations: 37.7 kB / 0.5104 GB, free: 4.082 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003244/0.1784, allocations: 462.1 kB / 0.5109 GB, free: 3.621 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.1785, allocations: 138.1 kB / 0.511 GB, free: 3.484 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/0.1787, allocations: 94.17 kB / 0.5111 GB, free: 3.387 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.1789, allocations: 370.7 kB / 0.5115 GB, free: 3.016 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002139/0.1791, allocations: 113.1 kB / 0.5116 GB, free: 2.906 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003469/0.1795, allocations: 306.3 kB / 0.5119 GB, free: 2.52 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005838/0.18, allocations: 456.7 kB / 0.5123 GB, free: 1.988 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.1801, allocations: 7.938 kB / 0.5123 GB, free: 1.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000773/0.1808, allocations: 0.5123 MB / 0.5128 GB, free: 1.457 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.1809, allocations: 8 kB / 0.5128 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.1809, allocations: 11.98 kB / 0.5128 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002108/0.1811, allocations: 33.62 kB / 0.5129 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003624/0.1815, allocations: 127.8 kB / 0.513 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004495/0.1819, allocations: 0.5601 MB / 0.5135 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/0.1821, allocations: 16 kB / 0.5135 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.742e-05/0.1822, allocations: 24 kB / 0.5136 GB, free: 0.6523 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (68): * Single equations (assignments): 67 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003095/0.1825, allocations: 237.6 kB / 0.5138 GB, free: 420 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.272e-05/0.1826, allocations: 55.34 kB / 0.5138 GB, free: 364 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006116/0.1832, allocations: 323.4 kB / 0.5141 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-06/0.1832, allocations: 7.938 kB / 0.5142 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.1832, allocations: 0 / 0.5142 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.1833, allocations: 7.922 kB / 0.5142 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001469/0.1847, allocations: 1.058 MB / 0.5152 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1847, allocations: 0 / 0.5152 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003752/0.1851, allocations: 79.89 kB / 0.5153 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001231/0.1853, allocations: 36.78 kB / 0.5153 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.565e-05/0.1853, allocations: 8 kB / 0.5153 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003698/0.1857, allocations: 0.5447 MB / 0.5158 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.1857, allocations: 4.031 kB / 0.5159 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008014/0.1865, allocations: 0.5601 MB / 0.5164 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.761e-05/0.1866, allocations: 116.5 kB / 0.5165 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.769e-05/0.1867, allocations: 15.98 kB / 0.5165 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.1868, allocations: 8.094 kB / 0.5165 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.225e-05/0.1869, allocations: 31.84 kB / 0.5166 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.163e-05/0.1869, allocations: 16 kB / 0.5166 GB, free: 13.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002811/0.1872, allocations: 271.1 kB / 0.5168 GB, free: 13.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1872, allocations: 0 / 0.5168 GB, free: 13.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005104/0.1877, allocations: 120 kB / 0.5169 GB, free: 13 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (directInertia.inertia.w,directInertia.torqueToAngle.phi,inertia2a.w,torqueToAngle2a.y,inertia2b.w,torqueToAngle2b.y,inertia3a.phi,inertia3a.w,inertia3b.phi,inertia3b.w) * 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 (33): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000214/0.1879, allocations: 115.1 kB / 0.5171 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006553/0.1886, allocations: 331.8 kB / 0.5174 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.1886, allocations: 0 / 0.5174 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002596/0.1889, allocations: 146.4 kB / 0.5175 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005134/0.1894, allocations: 84.83 kB / 0.5176 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002515/0.1919, allocations: 1.624 MB / 0.5192 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005932/0.1926, allocations: 0.9561 MB / 0.5201 GB, free: 9.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001566/0.1927, allocations: 56.55 kB / 0.5202 GB, free: 9.625 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.146e-05/0.1928, allocations: 39.42 kB / 0.5202 GB, free: 9.586 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1928, allocations: 0 / 0.5202 GB, free: 9.586 MB / 414.1 MB Notification: Performance of Templates: time 0.009778/0.2026, allocations: 4.246 MB / 0.5244 GB, free: 5.352 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches