Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.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.0008534/0.0008534, allocations: 87.62 kB / 21.44 MB, free: 3.121 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.003707/0.003707, allocations: 159.9 kB / 24.7 MB, free: 9.434 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.8358/0.8358, allocations: 177.1 MB / 205 MB, free: 5.711 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.2111/0.2111, allocations: 34.26 MB / 295.7 MB, free: 0.6914 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.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia") translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 443.4 MB, free: 1.176 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/2.037e-05, allocations: 2.844 kB / 443.4 MB, free: 1.172 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.1576/0.1576, allocations: 2.819 MB / 446.2 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005115/0.1581, allocations: 413.4 kB / 446.7 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.1582, allocations: 11.84 kB / 446.7 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.416e-05/0.1583, allocations: 69.11 kB / 446.7 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001885/0.1585, allocations: 177.7 kB / 446.9 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000165/0.1587, allocations: 102.1 kB / 447 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002465/0.1589, allocations: 0.5653 MB / 447.6 MB, free: 42.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.1591, allocations: 110 kB / 447.7 MB, free: 42.5 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001895/0.1593, allocations: 319 kB / 448 MB, free: 42.41 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.1594, allocations: 151.6 kB / 448.1 MB, free: 42.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.284e-05/0.1594, allocations: 40.75 kB / 448.2 MB, free: 42.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.592e-05/0.1595, allocations: 38.19 kB / 448.2 MB, free: 42.36 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.636e-05/0.1595, allocations: 107.2 kB / 448.3 MB, free: 42.29 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.527e-05/0.1596, allocations: 177.6 kB / 448.5 MB, free: 42.22 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000279/0.1599, allocations: 0.5245 MB / 449 MB, free: 42.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1599, allocations: 2.812 kB / 449 MB, free: 42.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1599, allocations: 3.875 kB / 449 MB, free: 42.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.1599, allocations: 0 / 449 MB, free: 42.02 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.0005323/0.1604, allocations: 0.6449 MB / 449.7 MB, free: 41.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1605, allocations: 8.094 kB / 449.7 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.481e-05/0.1605, allocations: 51 kB / 449.7 MB, free: 41.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.1607, allocations: 231 kB / 450 MB, free: 41.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.1607, allocations: 35.41 kB / 450 MB, free: 41.31 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.669e-05/0.1608, allocations: 55.73 kB / 450 MB, free: 41.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003435/0.1611, allocations: 467.4 kB / 450.5 MB, free: 41.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.1611, allocations: 7.109 kB / 450.5 MB, free: 41.03 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.216e-05/0.1611, allocations: 29.72 kB / 450.5 MB, free: 41.01 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.1612, allocations: 12.09 kB / 450.5 MB, free: 41.01 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002331/0.1614, allocations: 253.6 kB / 450.8 MB, free: 40.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.1624, allocations: 1.497 MB / 452.3 MB, free: 39.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003151/0.1628, allocations: 397.5 kB / 452.7 MB, free: 39.46 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.1629, allocations: 143.5 kB / 452.8 MB, free: 39.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.1629, allocations: 9.844 kB / 452.8 MB, free: 39.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.604e-05/0.1629, allocations: 51.25 kB / 452.9 MB, free: 39.31 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 1.973e-06/0.1629, allocations: 0 / 452.9 MB, free: 39.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.0004327/0.1633, allocations: 360 kB / 453.2 MB, free: 39.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.1634, allocations: 266.8 kB / 453.5 MB, free: 38.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.1635, allocations: 240.3 kB / 453.7 MB, free: 38.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.1635, allocations: 32.48 kB / 453.8 MB, free: 38.67 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.677e-05/0.1636, allocations: 253.8 kB / 454 MB, free: 38.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.356e-05/0.1636, allocations: 190.5 kB / 454.2 MB, free: 38.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.117e-05/0.1637, allocations: 113.8 kB / 454.3 MB, free: 38.24 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.753e-05/0.1637, allocations: 357.5 kB / 454.6 MB, free: 37.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.1638, allocations: 123.3 kB / 454.8 MB, free: 37.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/0.164, allocations: 423.1 kB / 455.2 MB, free: 37.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003306/0.1643, allocations: 0.5661 MB / 455.7 MB, free: 36.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.1644, allocations: 2.906 kB / 455.8 MB, free: 36.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0004447/0.1648, allocations: 0.5697 MB / 456.3 MB, free: 36.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.1648, allocations: 8.688 kB / 456.3 MB, free: 36.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.1648, allocations: 11.5 kB / 456.3 MB, free: 36.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.1648, allocations: 14.5 kB / 456.4 MB, free: 36.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002786/0.1651, allocations: 180.9 kB / 456.5 MB, free: 36.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.1651, allocations: 18.41 kB / 456.5 MB, free: 36.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/0.1653, allocations: 66.5 kB / 456.6 MB, free: 36.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.1653, allocations: 32.94 kB / 456.6 MB, free: 36.59 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (86): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.857e-05/0.1654, allocations: 198.8 kB / 456.8 MB, free: 36.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.971e-05/0.1655, allocations: 38.8 kB / 456.9 MB, free: 36.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.454e-05/0.1655, allocations: 43.11 kB / 456.9 MB, free: 36.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.1655, allocations: 5.844 kB / 456.9 MB, free: 36.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.1655, allocations: 2.594 kB / 456.9 MB, free: 36.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.1656, allocations: 6.344 kB / 456.9 MB, free: 36.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005027/0.1661, allocations: 301.9 kB / 457.2 MB, free: 36.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.1661, allocations: 6.125 kB / 457.2 MB, free: 36.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002884/0.1663, allocations: 117.5 kB / 457.4 MB, free: 36.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.1664, allocations: 5.688 kB / 457.4 MB, free: 36.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.1664, allocations: 20.8 kB / 457.4 MB, free: 36.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.1664, allocations: 5.609 kB / 457.4 MB, free: 36.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.1664, allocations: 6.719 kB / 457.4 MB, free: 36.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004013/0.1668, allocations: 1.081 MB / 458.5 MB, free: 35.28 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.389e-05/0.1668, allocations: 35.25 kB / 458.5 MB, free: 35.26 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.1668, allocations: 17.59 kB / 458.5 MB, free: 35.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002205/0.1671, allocations: 9.625 kB / 458.5 MB, free: 35.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.682e-05/0.1671, allocations: 32.83 kB / 458.6 MB, free: 35.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.679e-06/0.1671, allocations: 19.95 kB / 458.6 MB, free: 35.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.463e-05/0.1672, allocations: 160.4 kB / 458.7 MB, free: 35.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1672, allocations: 4 kB / 458.7 MB, free: 35.13 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004855/0.1676, allocations: 139.8 kB / 458.9 MB, free: 35.1 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.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 (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001313/0.1678, allocations: 108.3 kB / 459 MB, free: 35 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003158/0.1681, allocations: 345.2 kB / 459.3 MB, free: 34.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1681, allocations: 0 / 459.3 MB, free: 34.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.367e-05/0.1682, allocations: 121.4 kB / 459.4 MB, free: 34.85 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007461/0.1689, allocations: 104.3 kB / 459.5 MB, free: 34.81 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.1701, allocations: 1.518 MB / 461.1 MB, free: 33.69 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.1702, allocations: 227.3 kB / 461.3 MB, free: 33.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.136e-05/0.1703, allocations: 34.31 kB / 461.3 MB, free: 33.59 MB / 410.7 MB Notification: Performance of SimCode: time 7.62e-07/0.1703, allocations: 0 / 461.3 MB, free: 33.59 MB / 410.7 MB Notification: Performance of Templates: time 0.004231/0.1745, allocations: 5.358 MB / 466.7 MB, free: 32.95 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.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.043772584758699]