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.001372/0.001372, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.004683/0.004683, allocations: 163.5 kB / 24.7 MB, free: 9.426 MB / 18.57 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 0.8588/0.8588, allocations: 177.1 MB / 205 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.2272/0.2272, allocations: 34.26 MB / 295.7 MB, free: 0.707 MB / 266.7 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 1.442e-06/1.442e-06, allocations: 0 / 443.4 MB, free: 1.176 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.425e-05, allocations: 7.688 kB / 443.4 MB, free: 1.168 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.1559/0.156, allocations: 5.139 MB / 448.6 MB, free: 41.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002179/0.1581, allocations: 2.252 MB / 450.8 MB, free: 40.37 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003537/0.1585, allocations: 54.69 kB / 450.9 MB, free: 40.34 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000328/0.1588, allocations: 233.9 kB / 451.1 MB, free: 40.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002282/0.159, allocations: 196.3 kB / 451.3 MB, free: 40.04 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006281/0.1597, allocations: 476.5 kB / 451.7 MB, free: 39.77 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000538/0.1602, allocations: 1.14 MB / 452.9 MB, free: 39.16 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003863/0.1606, allocations: 402.9 kB / 453.3 MB, free: 38.93 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003909/0.161, allocations: 0.5762 MB / 453.9 MB, free: 38.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002091/0.1612, allocations: 271.5 kB / 454.1 MB, free: 38.55 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.889e-05/0.1613, allocations: 94.22 kB / 454.2 MB, free: 38.55 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001539/0.1614, allocations: 163.3 kB / 454.4 MB, free: 38.53 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.752e-05/0.1615, allocations: 212.6 kB / 454.6 MB, free: 38.38 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001453/0.1617, allocations: 311.7 kB / 454.9 MB, free: 38.23 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006862/0.1623, allocations: 1.278 MB / 456.2 MB, free: 37.72 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1624, allocations: 0 / 456.2 MB, free: 37.72 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1624, allocations: 0 / 456.2 MB, free: 37.72 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.869e-06/0.1624, allocations: 0 / 456.2 MB, free: 37.72 MB / 410.7 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.0008816/0.1632, allocations: 1.083 MB / 457.2 MB, free: 36.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.1633, allocations: 11.42 kB / 457.3 MB, free: 36.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001675/0.1634, allocations: 111.9 kB / 457.4 MB, free: 36.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000553/0.164, allocations: 0.5256 MB / 457.9 MB, free: 36.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.966e-05/0.164, allocations: 72.25 kB / 458 MB, free: 36.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.027e-05/0.1641, allocations: 96.14 kB / 458.1 MB, free: 36.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007865/0.1649, allocations: 0.8879 MB / 458.9 MB, free: 36.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.04e-05/0.1649, allocations: 6.359 kB / 459 MB, free: 36.01 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.67e-05/0.165, allocations: 36.88 kB / 459 MB, free: 35.98 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.165, allocations: 26.12 kB / 459 MB, free: 35.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005527/0.1655, allocations: 0.5273 MB / 459.5 MB, free: 35.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/0.1672, allocations: 3.202 MB / 462.7 MB, free: 33.28 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003464/0.1675, allocations: 209.4 kB / 462.9 MB, free: 33.19 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.878e-05/0.1676, allocations: 91.94 kB / 463 MB, free: 33.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.895e-05/0.1677, allocations: 16.17 kB / 463.1 MB, free: 33.15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.458e-05/0.1677, allocations: 41.5 kB / 463.1 MB, free: 33.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 1.552e-06/0.1677, allocations: 0 / 463.1 MB, free: 33.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.001319/0.1691, allocations: 1.15 MB / 464.2 MB, free: 32.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.1691, allocations: 57.91 kB / 464.3 MB, free: 32.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002614/0.1693, allocations: 411.7 kB / 464.7 MB, free: 32.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.1694, allocations: 33.64 kB / 464.7 MB, free: 32.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.1695, allocations: 480 kB / 465.2 MB, free: 31.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.16e-05/0.1696, allocations: 140.5 kB / 465.3 MB, free: 31.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.078e-05/0.1696, allocations: 99.05 kB / 465.4 MB, free: 31.56 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.454e-05/0.1697, allocations: 365.2 kB / 465.8 MB, free: 31.22 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.1698, allocations: 116.3 kB / 465.9 MB, free: 31.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.17, allocations: 309.2 kB / 466.2 MB, free: 30.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003203/0.1703, allocations: 463.6 kB / 466.7 MB, free: 30.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1703, allocations: 3.156 kB / 466.7 MB, free: 30.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00043/0.1708, allocations: 0.5126 MB / 467.2 MB, free: 30.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.1708, allocations: 9.375 kB / 467.2 MB, free: 30.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.1708, allocations: 6.219 kB / 467.2 MB, free: 30.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001448/0.1709, allocations: 37.67 kB / 467.2 MB, free: 30.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002019/0.1711, allocations: 128.2 kB / 467.4 MB, free: 30.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001907/0.1713, allocations: 0.5627 MB / 467.9 MB, free: 29.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.1714, allocations: 17 kB / 467.9 MB, free: 29.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.535e-05/0.1715, allocations: 24.91 kB / 468 MB, free: 29.71 MB / 410.7 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.0001625/0.1716, allocations: 231.7 kB / 468.2 MB, free: 29.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.1717, allocations: 49.73 kB / 468.2 MB, free: 29.49 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003566/0.172, allocations: 339.7 kB / 468.6 MB, free: 29.33 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.172, allocations: 2.969 kB / 468.6 MB, free: 29.33 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.172, allocations: 0.6094 kB / 468.6 MB, free: 29.33 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.172, allocations: 0 / 468.6 MB, free: 29.33 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007113/0.1727, allocations: 0.8789 MB / 469.4 MB, free: 28.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.1727, allocations: 7.344 kB / 469.5 MB, free: 28.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001929/0.1729, allocations: 81.83 kB / 469.5 MB, free: 28.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.379e-05/0.173, allocations: 32.81 kB / 469.6 MB, free: 28.78 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.173, allocations: 7.219 kB / 469.6 MB, free: 28.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001405/0.1732, allocations: 0.5542 MB / 470.1 MB, free: 28.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1732, allocations: 3.344 kB / 470.1 MB, free: 28.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003871/0.1736, allocations: 0.5502 MB / 470.7 MB, free: 27.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.355e-05/0.1736, allocations: 48.08 kB / 470.7 MB, free: 27.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.73e-05/0.1736, allocations: 16.59 kB / 470.7 MB, free: 27.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.376e-05/0.1737, allocations: 7.156 kB / 470.8 MB, free: 27.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.883e-05/0.1737, allocations: 27.94 kB / 470.8 MB, free: 27.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.1737, allocations: 16.75 kB / 470.8 MB, free: 27.83 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001493/0.1739, allocations: 270.3 kB / 471.1 MB, free: 27.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1739, allocations: 0 / 471.1 MB, free: 27.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003034/0.1742, allocations: 130.5 kB / 471.2 MB, free: 27.68 MB / 410.7 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.0001376/0.1743, allocations: 118.7 kB / 471.3 MB, free: 27.57 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003811/0.1747, allocations: 316.6 kB / 471.6 MB, free: 27.47 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.1747, allocations: 0 / 471.6 MB, free: 27.47 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.1748, allocations: 137.2 kB / 471.7 MB, free: 27.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.1752, allocations: 83.42 kB / 471.8 MB, free: 27.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.1766, allocations: 1.501 MB / 473.3 MB, free: 26.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002098/0.1768, allocations: 359.7 kB / 473.7 MB, free: 26.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.727e-05/0.1769, allocations: 50.73 kB / 473.7 MB, free: 26.31 MB / 410.7 MB Notification: Performance of SimCode: time 8.21e-07/0.1769, allocations: 0 / 473.7 MB, free: 26.31 MB / 410.7 MB Notification: Performance of Templates: time 0.01014/0.187, allocations: 11.66 MB / 485.4 MB, free: 24.88 MB / 410.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/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: 5.2981133703142405]