Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.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.00152/0.00152, allocations: 115.1 kB / 18.46 MB, free: 4.543 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.001691/0.001691, allocations: 215.2 kB / 21.42 MB, free: 1.582 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.533/1.533, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.2309/0.2309, allocations: 46.91 MB / 357.8 MB, free: 10.32 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.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs") translateModel(ModelicaTest.Rotational.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002124/0.002124, allocations: 59.91 kB / 0.492 GB, free: 7.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1385, allocations: 66 MB / 0.5565 GB, free: 5.344 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.008694/0.1472, allocations: 5.798 MB / 0.5622 GB, free: 15.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00489/0.152, allocations: 2.356 MB / 0.5645 GB, free: 13.15 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001063/0.1531, allocations: 59.5 kB / 0.5645 GB, free: 13.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007079/0.1538, allocations: 226 kB / 0.5647 GB, free: 12.87 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007694/0.1546, allocations: 190.2 kB / 0.5649 GB, free: 12.68 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001376/0.156, allocations: 470.9 kB / 0.5654 GB, free: 12.22 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001668/0.1576, allocations: 1.118 MB / 0.5665 GB, free: 11.1 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008235/0.1585, allocations: 429.5 kB / 0.5669 GB, free: 10.65 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006788/0.1591, allocations: 390.7 kB / 0.5672 GB, free: 10.27 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005742/0.1597, allocations: 402 kB / 0.5676 GB, free: 9.875 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001312/0.1598, allocations: 96 kB / 0.5677 GB, free: 9.781 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003439/0.1602, allocations: 152 kB / 0.5679 GB, free: 9.633 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002222/0.1604, allocations: 223.2 kB / 0.5681 GB, free: 9.414 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004406/0.1608, allocations: 473.6 kB / 0.5685 GB, free: 8.949 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001447/0.1623, allocations: 1.276 MB / 0.5698 GB, free: 7.668 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1623, allocations: 0 / 0.5698 GB, free: 7.668 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1623, allocations: 0 / 0.5698 GB, free: 7.668 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.367e-05/0.1623, allocations: 4 kB / 0.5698 GB, free: 7.664 MB / 430.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.001755/0.1641, allocations: 1.16 MB / 0.5709 GB, free: 6.453 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.1641, allocations: 12.03 kB / 0.5709 GB, free: 6.441 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002803/0.1644, allocations: 120.2 kB / 0.571 GB, free: 6.324 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009642/0.1653, allocations: 0.6025 MB / 0.5716 GB, free: 5.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.501e-05/0.1654, allocations: 66 kB / 0.5717 GB, free: 5.613 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/0.1656, allocations: 95.95 kB / 0.5718 GB, free: 5.52 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/0.1671, allocations: 0.8892 MB / 0.5726 GB, free: 4.57 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.008e-05/0.1672, allocations: 8 kB / 0.5727 GB, free: 4.562 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.249e-05/0.1672, allocations: 36 kB / 0.5727 GB, free: 4.527 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.603e-05/0.1673, allocations: 27.94 kB / 0.5727 GB, free: 4.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001229/0.1685, allocations: 0.5229 MB / 0.5732 GB, free: 3.973 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004178/0.1727, allocations: 3.613 MB / 0.5768 GB, free: 208 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006609/0.1733, allocations: 214.6 kB / 0.577 GB, free: 15.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.1735, allocations: 96.77 kB / 0.577 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002561/0.1738, allocations: 247.3 kB / 0.5773 GB, free: 15.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.102e-05/0.1738, allocations: 38.56 kB / 0.5773 GB, free: 15.54 MB / 446.1 MB Notification: Performance of pre-optimization done (n=30): time 2.174e-06/0.1738, allocations: 0 / 0.5773 GB, free: 15.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.002694/0.1765, allocations: 1.301 MB / 0.5786 GB, free: 14.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.1766, allocations: 59.34 kB / 0.5786 GB, free: 14.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000489/0.1771, allocations: 405.8 kB / 0.579 GB, free: 13.67 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.1771, allocations: 29.7 kB / 0.5791 GB, free: 13.63 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003555/0.1774, allocations: 487.5 kB / 0.5795 GB, free: 13.15 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/0.1776, allocations: 142.7 kB / 0.5797 GB, free: 13.01 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/0.1777, allocations: 98.2 kB / 0.5798 GB, free: 12.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.1779, allocations: 362.8 kB / 0.5801 GB, free: 12.54 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002273/0.1781, allocations: 113.1 kB / 0.5802 GB, free: 12.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003881/0.1785, allocations: 308.4 kB / 0.5805 GB, free: 12.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006475/0.1792, allocations: 459.6 kB / 0.5809 GB, free: 11.51 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.1792, allocations: 4 kB / 0.5809 GB, free: 11.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00089/0.1801, allocations: 0.5203 MB / 0.5815 GB, free: 10.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.1801, allocations: 8 kB / 0.5815 GB, free: 10.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.1801, allocations: 8.781 kB / 0.5815 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002156/0.1803, allocations: 36.84 kB / 0.5815 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003873/0.1807, allocations: 127.8 kB / 0.5816 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004676/0.1812, allocations: 0.5601 MB / 0.5822 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002068/0.1814, allocations: 16 kB / 0.5822 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.775e-05/0.1814, allocations: 28 kB / 0.5822 GB, free: 10.17 MB / 446.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.0003582/0.1818, allocations: 235.8 kB / 0.5824 GB, free: 9.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.86e-05/0.1819, allocations: 55.67 kB / 0.5825 GB, free: 9.875 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006779/0.1825, allocations: 323 kB / 0.5828 GB, free: 9.547 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.1825, allocations: 7.938 kB / 0.5828 GB, free: 9.539 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.1826, allocations: 0 / 0.5828 GB, free: 9.539 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.1826, allocations: 0 / 0.5828 GB, free: 9.539 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001635/0.1842, allocations: 1.062 MB / 0.5838 GB, free: 8.402 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.1842, allocations: 4 kB / 0.5839 GB, free: 8.398 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003575/0.1846, allocations: 79.84 kB / 0.5839 GB, free: 8.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001396/0.1847, allocations: 40.77 kB / 0.584 GB, free: 8.277 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.642e-05/0.1847, allocations: 8.156 kB / 0.584 GB, free: 8.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004055/0.1851, allocations: 0.5446 MB / 0.5845 GB, free: 7.699 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.1851, allocations: 4.031 kB / 0.5845 GB, free: 7.695 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008414/0.186, allocations: 0.5567 MB / 0.5851 GB, free: 7.098 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.1861, allocations: 121 kB / 0.5852 GB, free: 6.961 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.802e-05/0.1861, allocations: 15.94 kB / 0.5852 GB, free: 6.945 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.1863, allocations: 11.98 kB / 0.5852 GB, free: 6.934 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.806e-05/0.1864, allocations: 27.91 kB / 0.5852 GB, free: 6.906 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.8e-05/0.1864, allocations: 19.98 kB / 0.5852 GB, free: 6.887 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003072/0.1867, allocations: 267.3 kB / 0.5855 GB, free: 6.633 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1867, allocations: 0 / 0.5855 GB, free: 6.633 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005775/0.1873, allocations: 131.9 kB / 0.5856 GB, free: 6.504 MB / 446.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.0001806/0.1874, allocations: 121.4 kB / 0.5857 GB, free: 6.375 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007169/0.1882, allocations: 315.7 kB / 0.586 GB, free: 6.066 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1882, allocations: 1.688 kB / 0.586 GB, free: 6.066 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002758/0.1884, allocations: 131.8 kB / 0.5862 GB, free: 5.938 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005385/0.189, allocations: 72.28 kB / 0.5862 GB, free: 5.871 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002806/0.1918, allocations: 1.694 MB / 0.5879 GB, free: 4.121 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006828/0.1925, allocations: 0.96 MB / 0.5888 GB, free: 3.137 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.1926, allocations: 43.44 kB / 0.5889 GB, free: 3.094 MB / 446.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1926, allocations: 3.938 kB / 0.5889 GB, free: 3.09 MB / 446.1 MB Notification: Performance of Templates: time 0.2716/0.4642, allocations: 11.3 MB / 0.5999 GB, free: 31.79 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.GenerationOfFMUs.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: 9.131503636017442]