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.001606/0.001606, allocations: 118.9 kB / 17.79 MB, free: 5.285 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.002175/0.002175, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.67/1.67, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.2555/0.2555, allocations: 46.92 MB / 357.1 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.002162/0.002162, allocations: 63.89 kB / 0.4914 GB, free: 7.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1393, allocations: 66 MB / 0.5558 GB, free: 5.363 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.007861/0.1472, allocations: 5.801 MB / 0.5615 GB, free: 15.53 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004471/0.1517, allocations: 2.352 MB / 0.5638 GB, free: 13.17 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006981/0.1524, allocations: 55.56 kB / 0.5638 GB, free: 13.12 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005631/0.1529, allocations: 226 kB / 0.5641 GB, free: 12.89 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004694/0.1534, allocations: 190.2 kB / 0.5642 GB, free: 12.71 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00111/0.1545, allocations: 474.8 kB / 0.5647 GB, free: 12.24 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001238/0.1557, allocations: 1.118 MB / 0.5658 GB, free: 11.12 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008046/0.1566, allocations: 433.5 kB / 0.5662 GB, free: 10.67 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005414/0.1571, allocations: 382.7 kB / 0.5666 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004839/0.1576, allocations: 402 kB / 0.567 GB, free: 9.898 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001345/0.1577, allocations: 96 kB / 0.567 GB, free: 9.805 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002759/0.158, allocations: 156 kB / 0.5672 GB, free: 9.652 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002148/0.1582, allocations: 219.2 kB / 0.5674 GB, free: 9.438 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004541/0.1587, allocations: 469.6 kB / 0.5679 GB, free: 8.977 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00154/0.1602, allocations: 1.28 MB / 0.5691 GB, free: 7.691 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.1602, allocations: 8 kB / 0.5691 GB, free: 7.684 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1602, allocations: 0 / 0.5691 GB, free: 7.684 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.781e-05/0.1602, allocations: 0 / 0.5691 GB, free: 7.684 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.00187/0.1621, allocations: 1.16 MB / 0.5702 GB, free: 6.473 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.1621, allocations: 12.03 kB / 0.5703 GB, free: 6.461 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003029/0.1624, allocations: 116.2 kB / 0.5704 GB, free: 6.348 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.1635, allocations: 0.6103 MB / 0.571 GB, free: 5.695 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.582e-05/0.1635, allocations: 66 kB / 0.571 GB, free: 5.629 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001514/0.1637, allocations: 95.95 kB / 0.5711 GB, free: 5.535 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001631/0.1653, allocations: 0.8832 MB / 0.572 GB, free: 4.594 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.512e-05/0.1653, allocations: 4 kB / 0.572 GB, free: 4.59 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-05/0.1654, allocations: 47.94 kB / 0.572 GB, free: 4.543 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.306e-05/0.1655, allocations: 20 kB / 0.572 GB, free: 4.523 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.1665, allocations: 0.5307 MB / 0.5726 GB, free: 3.988 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004211/0.1707, allocations: 3.605 MB / 0.5761 GB, free: 232 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005922/0.1713, allocations: 211.9 kB / 0.5763 GB, free: 8 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000227/0.1716, allocations: 96.8 kB / 0.5764 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003388/0.1719, allocations: 255.3 kB / 0.5766 GB, free: 15.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.1719, allocations: 34.56 kB / 0.5767 GB, free: 15.56 MB / 446.1 MB Notification: Performance of pre-optimization done (n=30): time 1.603e-06/0.1719, allocations: 0 / 0.5767 GB, free: 15.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.002788/0.1747, allocations: 1.301 MB / 0.5779 GB, free: 14.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.696e-05/0.1748, allocations: 59.34 kB / 0.578 GB, free: 14.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005147/0.1753, allocations: 405.8 kB / 0.5784 GB, free: 13.69 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.541e-05/0.1753, allocations: 37.7 kB / 0.5784 GB, free: 13.65 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004153/0.1758, allocations: 483.4 kB / 0.5789 GB, free: 13.17 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001793/0.1759, allocations: 146.8 kB / 0.579 GB, free: 13.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001556/0.1761, allocations: 98.2 kB / 0.5791 GB, free: 12.92 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000199/0.1763, allocations: 358.8 kB / 0.5794 GB, free: 12.56 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002406/0.1765, allocations: 109.1 kB / 0.5795 GB, free: 12.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004356/0.177, allocations: 314.1 kB / 0.5798 GB, free: 12.06 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006831/0.1776, allocations: 455.6 kB / 0.5803 GB, free: 11.53 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.1776, allocations: 4 kB / 0.5803 GB, free: 11.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0009097/0.1786, allocations: 0.521 MB / 0.5808 GB, free: 11 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.1786, allocations: 8 kB / 0.5808 GB, free: 10.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.1786, allocations: 8 kB / 0.5808 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002151/0.1788, allocations: 36.84 kB / 0.5808 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004129/0.1792, allocations: 127.8 kB / 0.581 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005096/0.1797, allocations: 0.5601 MB / 0.5815 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.18, allocations: 20.16 kB / 0.5815 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.066e-05/0.18, allocations: 24 kB / 0.5816 GB, free: 10.19 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.0003991/0.1804, allocations: 237.6 kB / 0.5818 GB, free: 9.945 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.864e-05/0.1805, allocations: 51.61 kB / 0.5818 GB, free: 9.895 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007374/0.1812, allocations: 327 kB / 0.5821 GB, free: 9.562 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.1812, allocations: 8 kB / 0.5821 GB, free: 9.555 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1812, allocations: 0 / 0.5821 GB, free: 9.555 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1813, allocations: 0 / 0.5821 GB, free: 9.555 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001672/0.1829, allocations: 1.051 MB / 0.5832 GB, free: 8.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.1829, allocations: 12.09 kB / 0.5832 GB, free: 8.418 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003751/0.1833, allocations: 75.91 kB / 0.5833 GB, free: 8.344 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001653/0.1835, allocations: 36.78 kB / 0.5833 GB, free: 8.305 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.443e-05/0.1835, allocations: 19.98 kB / 0.5833 GB, free: 8.285 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000525/0.184, allocations: 0.5407 MB / 0.5838 GB, free: 7.719 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.184, allocations: 0 / 0.5838 GB, free: 7.719 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.1851, allocations: 0.5645 MB / 0.5844 GB, free: 7.113 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.1852, allocations: 120.8 kB / 0.5845 GB, free: 6.977 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.363e-05/0.1853, allocations: 12 kB / 0.5845 GB, free: 6.965 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/0.1854, allocations: 8 kB / 0.5845 GB, free: 6.957 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.726e-05/0.1855, allocations: 28 kB / 0.5846 GB, free: 6.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-05/0.1855, allocations: 12 kB / 0.5846 GB, free: 6.918 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003798/0.1859, allocations: 275.1 kB / 0.5848 GB, free: 6.656 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1859, allocations: 0 / 0.5848 GB, free: 6.656 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006619/0.1866, allocations: 123.9 kB / 0.5849 GB, free: 6.535 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.0002247/0.1868, allocations: 125.5 kB / 0.5851 GB, free: 6.402 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007232/0.1875, allocations: 317.3 kB / 0.5854 GB, free: 6.094 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.1875, allocations: 8 kB / 0.5854 GB, free: 6.086 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002846/0.1878, allocations: 131.8 kB / 0.5855 GB, free: 5.957 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005607/0.1884, allocations: 77.86 kB / 0.5856 GB, free: 5.883 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003055/0.1914, allocations: 1.648 MB / 0.5872 GB, free: 4.188 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006888/0.1921, allocations: 0.9522 MB / 0.5881 GB, free: 3.211 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002033/0.1923, allocations: 68.47 kB / 0.5882 GB, free: 3.145 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.497e-05/0.1924, allocations: 39.42 kB / 0.5882 GB, free: 3.105 MB / 446.1 MB Notification: Performance of SimCode: time 8.71e-07/0.1924, allocations: 0 / 0.5882 GB, free: 3.105 MB / 446.1 MB Notification: Performance of Templates: time 0.2738/0.4662, allocations: 4.347 MB / 0.5925 GB, free: 34.23 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/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.849960148334503]