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.001212/0.001212, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001799/0.003011, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.001098/0.001098, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001449/0.002547, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 1.022/1.022, allocations: 158.6 MB / 171 MB, free: 2.18 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1753/1.197, allocations: 49.5 MB / 220.5 MB, free: 5.27 MB / 218.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.1394/0.1394, allocations: 32.35 MB / 253.6 MB, free: 4.152 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02168/0.1611, allocations: 12.29 MB / 265.9 MB, free: 7.824 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.232e-06/1.232e-06, allocations: 0 / 267.2 MB, free: 6.547 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.678e-05/1.801e-05, allocations: 2.312 kB / 267.2 MB, free: 6.543 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.002902/0.00292, allocations: 3.064 MB / 270.3 MB, free: 3.453 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009426/0.003863, allocations: 446.2 kB / 270.7 MB, free: 3.016 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001476/0.00401, allocations: 11.94 kB / 270.7 MB, free: 3.004 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.711e-05/0.004097, allocations: 63.31 kB / 270.8 MB, free: 2.941 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002408/0.004338, allocations: 182.4 kB / 271 MB, free: 2.762 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00016/0.004498, allocations: 107.8 kB / 271.1 MB, free: 2.656 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004326/0.004931, allocations: 0.5634 MB / 271.6 MB, free: 2.09 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001809/0.005112, allocations: 113.8 kB / 271.7 MB, free: 1.977 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003512/0.005463, allocations: 343.2 kB / 272.1 MB, free: 1.641 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001785/0.005641, allocations: 163.5 kB / 272.2 MB, free: 1.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.148e-05/0.005693, allocations: 40 kB / 272.3 MB, free: 1.441 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.993e-05/0.005743, allocations: 40 kB / 272.3 MB, free: 1.402 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.284e-05/0.005796, allocations: 71.75 kB / 272.4 MB, free: 1.332 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.005928, allocations: 151.7 kB / 272.5 MB, free: 1.184 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003328/0.006261, allocations: 322.8 kB / 272.8 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.83e-05/0.006279, allocations: 0 / 272.8 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.00628, allocations: 0 / 272.8 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.922e-05/0.006299, allocations: 0 / 272.8 MB, free: 0.8672 MB / 266.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.0007096/0.007009, allocations: 0.7413 MB / 273.6 MB, free: 100 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.007051, allocations: 8.031 kB / 273.6 MB, free: 92 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.979e-05/0.007131, allocations: 76.88 kB / 273.7 MB, free: 16 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002472/0.007378, allocations: 201 kB / 273.9 MB, free: 15.79 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/0.007403, allocations: 33.38 kB / 273.9 MB, free: 15.76 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.182e-05/0.007465, allocations: 56.31 kB / 273.9 MB, free: 15.71 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003103/0.007775, allocations: 362.5 kB / 274.3 MB, free: 15.32 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.007794, allocations: 8.141 kB / 274.3 MB, free: 15.31 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.895e-05/0.007813, allocations: 20.38 kB / 274.3 MB, free: 15.29 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.007822, allocations: 12.38 kB / 274.3 MB, free: 15.28 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/0.007962, allocations: 143.6 kB / 274.5 MB, free: 15.14 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001178/0.009141, allocations: 1.342 MB / 275.8 MB, free: 13.75 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002753/0.009416, allocations: 311.6 kB / 276.1 MB, free: 13.37 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.329e-05/0.009509, allocations: 115.9 kB / 276.2 MB, free: 13.23 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.009524, allocations: 8 kB / 276.3 MB, free: 13.22 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.009555, allocations: 50.48 kB / 276.3 MB, free: 13.16 MB / 282.7 MB Notification: Performance of pre-optimization done (n=42): time 2.284e-06/0.009557, allocations: 0 / 276.3 MB, free: 13.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=42): time 0.0003462/0.009903, allocations: 234.5 kB / 276.5 MB, free: 12.93 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.01001, allocations: 273.5 kB / 276.8 MB, free: 12.6 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.01015, allocations: 241 kB / 277 MB, free: 12.35 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.01016, allocations: 33.7 kB / 277.1 MB, free: 12.31 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.01026, allocations: 232.2 kB / 277.3 MB, free: 12.08 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.736e-05/0.01036, allocations: 190.4 kB / 277.5 MB, free: 11.89 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.976e-05/0.01046, allocations: 122.6 kB / 277.6 MB, free: 11.77 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.01058, allocations: 354.7 kB / 277.9 MB, free: 11.41 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.647e-05/0.01064, allocations: 50.09 kB / 278 MB, free: 11.36 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.01084, allocations: 361.3 kB / 278.3 MB, free: 10.87 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003294/0.01117, allocations: 485.8 kB / 278.8 MB, free: 10.26 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.01117, allocations: 8 kB / 278.8 MB, free: 10.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.000373/0.01155, allocations: 396.8 kB / 279.2 MB, free: 9.855 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.01157, allocations: 8.938 kB / 279.2 MB, free: 9.848 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.01158, allocations: 15.94 kB / 279.2 MB, free: 9.832 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.0116, allocations: 15.98 kB / 279.3 MB, free: 9.816 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003966/0.01199, allocations: 223.7 kB / 279.5 MB, free: 9.598 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.01201, allocations: 24.19 kB / 279.5 MB, free: 9.574 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001537/0.01216, allocations: 67.52 kB / 279.6 MB, free: 9.508 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.01218, allocations: 24 kB / 279.6 MB, free: 9.484 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.0001251/0.0123, allocations: 165.5 kB / 279.7 MB, free: 9.312 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.01242, allocations: 39.91 kB / 279.8 MB, free: 9.273 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.072e-05/0.01248, allocations: 45.77 kB / 279.8 MB, free: 9.227 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.01249, allocations: 8 kB / 279.8 MB, free: 9.219 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.01249, allocations: 3.938 kB / 279.8 MB, free: 9.215 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.0125, allocations: 7.984 kB / 279.9 MB, free: 9.207 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005411/0.01304, allocations: 213.6 kB / 280.1 MB, free: 8.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.01305, allocations: 4.125 kB / 280.1 MB, free: 8.977 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003786/0.01343, allocations: 159.7 kB / 280.2 MB, free: 8.82 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.976e-05/0.01347, allocations: 43.66 kB / 280.3 MB, free: 8.777 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.598e-06/0.01348, allocations: 7.938 kB / 280.3 MB, free: 8.77 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.754e-05/0.0135, allocations: 20 kB / 280.3 MB, free: 8.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.686e-06/0.01351, allocations: 0 / 280.3 MB, free: 8.75 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.01351, allocations: 11.92 kB / 280.3 MB, free: 8.738 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005257/0.01404, allocations: 0.9546 MB / 281.3 MB, free: 7.762 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.066e-05/0.01407, allocations: 15.94 kB / 281.3 MB, free: 7.746 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002041/0.01427, allocations: 12 kB / 281.3 MB, free: 7.734 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.73e-05/0.0143, allocations: 27.89 kB / 281.3 MB, free: 7.707 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.01431, allocations: 11.98 kB / 281.3 MB, free: 7.695 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.304e-05/0.01436, allocations: 78.78 kB / 281.4 MB, free: 7.613 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01436, allocations: 0 / 281.4 MB, free: 7.613 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004974/0.01486, allocations: 135.8 kB / 281.5 MB, free: 7.48 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 0.0001015/0.01496, allocations: 88.36 kB / 281.6 MB, free: 7.387 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000268/0.01523, allocations: 267.3 kB / 281.9 MB, free: 7.125 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.691e-05/0.01525, allocations: 8 kB / 281.9 MB, free: 7.117 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.858e-05/0.01533, allocations: 102.1 kB / 282 MB, free: 7.016 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006914/0.01602, allocations: 158 kB / 282.1 MB, free: 6.863 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006159/0.02218, allocations: 0.9554 MB / 283.1 MB, free: 5.848 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.02229, allocations: 125.8 kB / 283.2 MB, free: 5.703 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000157/0.02245, allocations: 44.25 kB / 283.3 MB, free: 5.66 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001728/0.02262, allocations: 149.3 kB / 283.4 MB, free: 5.512 MB / 282.7 MB Notification: Performance of SimCode: time 1.313e-06/0.02262, allocations: 0 / 283.4 MB, free: 5.512 MB / 282.7 MB Notification: Performance of Templates: time 0.007458/0.03008, allocations: 5.264 MB / 288.7 MB, free: 244 kB / 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 -emit_protected -ignoreHideResult -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: 3.0327861486002803]