Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001075/0.001075, allocations: 79.92 kB / 20.72 MB, free: 3.77 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.00114/0.00114, allocations: 169 kB / 24.14 MB, free: 364 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8563/0.8563, allocations: 158.6 MB / 186 MB, free: 2.766 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1376/0.1376, allocations: 32.37 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] 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.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_3.2.3_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_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 299.1 MB, free: 2.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.17e-05/1.288e-05, allocations: 2.312 kB / 299.1 MB, free: 2.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.1463/0.1463, allocations: 3.051 MB / 302.2 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009124/0.1472, allocations: 443.1 kB / 302.6 MB, free: 19.1 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001567/0.1474, allocations: 12.34 kB / 302.6 MB, free: 19.1 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001159/0.1475, allocations: 68.38 kB / 302.7 MB, free: 19.06 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003029/0.1478, allocations: 176.5 kB / 302.8 MB, free: 18.94 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002137/0.148, allocations: 100.4 kB / 302.9 MB, free: 18.93 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004093/0.1484, allocations: 0.5638 MB / 303.5 MB, free: 18.74 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001814/0.1486, allocations: 111.3 kB / 303.6 MB, free: 18.71 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003465/0.1489, allocations: 325 kB / 303.9 MB, free: 18.62 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002238/0.1491, allocations: 156.5 kB / 304.1 MB, free: 18.57 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.647e-05/0.1492, allocations: 40.88 kB / 304.1 MB, free: 18.57 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.628e-05/0.1493, allocations: 41.06 kB / 304.2 MB, free: 18.57 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.843e-05/0.1493, allocations: 98.77 kB / 304.3 MB, free: 18.51 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00015/0.1495, allocations: 180.2 kB / 304.4 MB, free: 18.44 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003297/0.1498, allocations: 347.4 kB / 304.8 MB, free: 18.28 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.1498, allocations: 0.9375 kB / 304.8 MB, free: 18.28 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1498, allocations: 0.75 kB / 304.8 MB, free: 18.28 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.256e-06/0.1498, allocations: 0 / 304.8 MB, free: 18.28 MB / 282.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.0006699/0.1505, allocations: 0.6369 MB / 305.4 MB, free: 17.81 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.1505, allocations: 9.906 kB / 305.4 MB, free: 17.81 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001076/0.1506, allocations: 75.61 kB / 305.5 MB, free: 17.8 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.1509, allocations: 202.4 kB / 305.7 MB, free: 17.62 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.843e-05/0.1509, allocations: 39.09 kB / 305.7 MB, free: 17.6 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.308e-05/0.151, allocations: 53.98 kB / 305.8 MB, free: 17.58 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000398/0.1514, allocations: 357.8 kB / 306.1 MB, free: 17.4 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.908e-05/0.1514, allocations: 12.73 kB / 306.1 MB, free: 17.39 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.65e-05/0.1514, allocations: 22.33 kB / 306.2 MB, free: 17.38 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/0.1514, allocations: 12.22 kB / 306.2 MB, free: 17.38 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002026/0.1516, allocations: 137.4 kB / 306.3 MB, free: 17.36 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001227/0.1529, allocations: 1.349 MB / 307.7 MB, free: 16.32 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002696/0.1531, allocations: 312.5 kB / 308 MB, free: 16.07 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.037e-05/0.1532, allocations: 118.6 kB / 308.1 MB, free: 15.98 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.1532, allocations: 10.52 kB / 308.1 MB, free: 15.98 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.1533, allocations: 46.05 kB / 308.1 MB, free: 15.93 MB / 282.7 MB Notification: Performance of pre-optimization done (n=42): time 1.853e-06/0.1533, allocations: 5.25 kB / 308.1 MB, free: 15.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=42): time 0.0004349/0.1537, allocations: 231.3 kB / 308.4 MB, free: 15.87 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.1537, allocations: 269.1 kB / 308.6 MB, free: 15.55 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.1539, allocations: 239.9 kB / 308.9 MB, free: 15.39 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.1539, allocations: 35.14 kB / 308.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.692e-05/0.154, allocations: 234.5 kB / 309.1 MB, free: 15.16 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.251e-05/0.1541, allocations: 188.4 kB / 309.3 MB, free: 15.02 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.1542, allocations: 120.3 kB / 309.4 MB, free: 14.95 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.156e-05/0.1542, allocations: 355.5 kB / 309.8 MB, free: 14.61 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.363e-05/0.1543, allocations: 55.27 kB / 309.8 MB, free: 14.61 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/0.1545, allocations: 356 kB / 310.2 MB, free: 14.22 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003419/0.1548, allocations: 490.1 kB / 310.7 MB, free: 13.78 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.1548, allocations: 2.5 kB / 310.7 MB, free: 13.78 MB / 282.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0004813/0.1553, allocations: 403.2 kB / 311.1 MB, free: 13.66 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.1553, allocations: 9.656 kB / 311.1 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.1553, allocations: 14.16 kB / 311.1 MB, free: 13.65 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.459e-05/0.1553, allocations: 14.16 kB / 311.1 MB, free: 13.65 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005368/0.1559, allocations: 209.5 kB / 311.3 MB, free: 13.63 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.989e-05/0.1559, allocations: 25.02 kB / 311.3 MB, free: 13.62 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002163/0.1561, allocations: 71.33 kB / 311.4 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.762e-05/0.1561, allocations: 26.44 kB / 311.4 MB, free: 13.57 MB / 282.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 0.0001026/0.1562, allocations: 160.5 kB / 311.6 MB, free: 13.42 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001767/0.1564, allocations: 41.83 kB / 311.6 MB, free: 13.41 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.31e-05/0.1565, allocations: 41.94 kB / 311.7 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.1565, allocations: 8.094 kB / 311.7 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.1565, allocations: 5.719 kB / 311.7 MB, free: 13.37 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.1565, allocations: 5.375 kB / 311.7 MB, free: 13.37 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007535/0.1572, allocations: 220.2 kB / 311.9 MB, free: 13.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.1572, allocations: 2.562 kB / 311.9 MB, free: 13.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005057/0.1578, allocations: 148.9 kB / 312 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.1578, allocations: 4.141 kB / 312 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.687e-05/0.1578, allocations: 18.06 kB / 312.1 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/0.1578, allocations: 4.328 kB / 312.1 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.1578, allocations: 2.5 kB / 312.1 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004073/0.1582, allocations: 0.9552 MB / 313 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.354e-05/0.1582, allocations: 39.44 kB / 313.1 MB, free: 12.43 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.743e-05/0.1583, allocations: 14.98 kB / 313.1 MB, free: 12.42 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003898/0.1587, allocations: 12.77 kB / 313.1 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.265e-05/0.1587, allocations: 34.69 kB / 313.1 MB, free: 12.4 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.1587, allocations: 7.484 kB / 313.1 MB, free: 12.4 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.35e-05/0.1588, allocations: 73.41 kB / 313.2 MB, free: 12.38 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1588, allocations: 0 / 313.2 MB, free: 12.38 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007327/0.1595, allocations: 136.3 kB / 313.3 MB, free: 12.34 MB / 282.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 8.149e-05/0.1596, allocations: 99.3 kB / 313.4 MB, free: 12.26 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003002/0.1599, allocations: 277.5 kB / 313.7 MB, free: 12.18 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.228e-06/0.1599, allocations: 4.375 kB / 313.7 MB, free: 12.18 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.16, allocations: 106.9 kB / 313.8 MB, free: 12.15 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.161, allocations: 100.9 kB / 313.9 MB, free: 12.12 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.1624, allocations: 1.014 MB / 314.9 MB, free: 11.44 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001298/0.1625, allocations: 118.8 kB / 315 MB, free: 11.37 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001629/0.1627, allocations: 52.05 kB / 315.1 MB, free: 11.36 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002267/0.1629, allocations: 150 kB / 315.2 MB, free: 11.3 MB / 282.7 MB Notification: Performance of SimCode: time 6.91e-07/0.1629, allocations: 0 / 315.2 MB, free: 11.3 MB / 282.7 MB Notification: Performance of Templates: time 0.008215/0.1711, allocations: 5.036 MB / 320.3 MB, free: 8.465 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.917179641779512]