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.001012/0.001012, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001715/0.002728, allocations: 452 kB / 10.43 MB, free: 264 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.001194/0.001194, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001598/0.002791, allocations: 483.5 kB / 11.8 MB, free: 2.363 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.02/1.02, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1837/1.204, allocations: 49.5 MB / 220.7 MB, free: 1.363 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.1614/0.1614, allocations: 32.35 MB / 253.8 MB, free: 236 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02143/0.1828, allocations: 12.32 MB / 266.1 MB, free: 3.879 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.102e-06/1.102e-06, allocations: 0 / 267.4 MB, free: 2.57 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.787e-05/1.898e-05, allocations: 2.312 kB / 267.4 MB, free: 2.566 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.002616/0.002635, allocations: 3.068 MB / 270.5 MB, free: 15.47 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007098/0.003345, allocations: 442.2 kB / 270.9 MB, free: 15.04 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.003465, allocations: 15.88 kB / 270.9 MB, free: 15.02 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.523e-05/0.00355, allocations: 67.3 kB / 271 MB, free: 14.96 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001925/0.003743, allocations: 174.5 kB / 271.1 MB, free: 14.79 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001245/0.003867, allocations: 107.8 kB / 271.2 MB, free: 14.68 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003433/0.00421, allocations: 0.5634 MB / 271.8 MB, free: 14.11 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.004367, allocations: 117.8 kB / 271.9 MB, free: 14 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002769/0.004644, allocations: 339.2 kB / 272.3 MB, free: 13.66 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.004802, allocations: 159.6 kB / 272.4 MB, free: 13.51 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.048e-05/0.004843, allocations: 40 kB / 272.4 MB, free: 13.47 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.791e-05/0.004891, allocations: 40 kB / 272.5 MB, free: 13.43 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.598e-05/0.004937, allocations: 79.69 kB / 272.6 MB, free: 13.35 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.005041, allocations: 147.8 kB / 272.7 MB, free: 13.21 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002669/0.005308, allocations: 326.8 kB / 273 MB, free: 12.89 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.778e-06/0.005317, allocations: 0 / 273 MB, free: 12.89 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.005318, allocations: 0 / 273 MB, free: 12.89 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.005327, allocations: 0 / 273 MB, free: 12.89 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.0006545/0.005981, allocations: 0.7335 MB / 273.8 MB, free: 12.12 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.006012, allocations: 12.03 kB / 273.8 MB, free: 12.11 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.351e-05/0.006085, allocations: 76.88 kB / 273.8 MB, free: 12.04 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.006296, allocations: 201 kB / 274 MB, free: 11.82 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.006316, allocations: 33.38 kB / 274.1 MB, free: 11.79 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.932e-05/0.006376, allocations: 56.31 kB / 274.1 MB, free: 11.73 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003016/0.006677, allocations: 362.5 kB / 274.5 MB, free: 11.34 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.006699, allocations: 16.06 kB / 274.5 MB, free: 11.33 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.006718, allocations: 16.38 kB / 274.5 MB, free: 11.31 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.497e-06/0.006727, allocations: 12.38 kB / 274.5 MB, free: 11.3 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001434/0.006871, allocations: 139.7 kB / 274.7 MB, free: 11.16 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.008012, allocations: 1.35 MB / 276 MB, free: 9.77 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002656/0.008278, allocations: 311.4 kB / 276.3 MB, free: 9.383 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.113e-05/0.008359, allocations: 112.1 kB / 276.4 MB, free: 9.246 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.008374, allocations: 12 kB / 276.4 MB, free: 9.234 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.008403, allocations: 50.48 kB / 276.5 MB, free: 9.176 MB / 282.7 MB Notification: Performance of pre-optimization done (n=42): time 1.573e-06/0.008404, allocations: 3.938 kB / 276.5 MB, free: 9.172 MB / 282.7 MB Notification: Performance of matching and sorting (n=42): time 0.0003267/0.008731, allocations: 238.6 kB / 276.7 MB, free: 8.934 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.008832, allocations: 269 kB / 277 MB, free: 8.609 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.008984, allocations: 241 kB / 277.2 MB, free: 8.359 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.009003, allocations: 33.7 kB / 277.3 MB, free: 8.32 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.817e-05/0.009102, allocations: 236.7 kB / 277.5 MB, free: 8.086 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.565e-05/0.009187, allocations: 190.4 kB / 277.7 MB, free: 7.898 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.99e-05/0.009267, allocations: 122.6 kB / 277.8 MB, free: 7.773 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.009372, allocations: 354.7 kB / 278.1 MB, free: 7.418 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.559e-05/0.009428, allocations: 49.97 kB / 278.2 MB, free: 7.367 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002017/0.00963, allocations: 357.5 kB / 278.5 MB, free: 6.875 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003683/0.009998, allocations: 497.9 kB / 279 MB, free: 6.25 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.01, allocations: 4 kB / 279 MB, free: 6.246 MB / 282.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0003725/0.01038, allocations: 401.2 kB / 279.4 MB, free: 5.848 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.0104, allocations: 11.98 kB / 279.4 MB, free: 5.836 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.01041, allocations: 12 kB / 279.4 MB, free: 5.824 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.01043, allocations: 12 kB / 279.5 MB, free: 5.812 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004025/0.01083, allocations: 224.1 kB / 279.7 MB, free: 5.594 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.01085, allocations: 24.19 kB / 279.7 MB, free: 5.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/0.01098, allocations: 67.52 kB / 279.8 MB, free: 5.504 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.011, allocations: 24 kB / 279.8 MB, free: 5.48 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.0001023/0.01111, allocations: 165.5 kB / 279.9 MB, free: 5.309 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.01121, allocations: 35.97 kB / 280 MB, free: 5.273 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.325e-05/0.01126, allocations: 41.77 kB / 280 MB, free: 5.23 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.01127, allocations: 8 kB / 280 MB, free: 5.223 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.01127, allocations: 3.938 kB / 280 MB, free: 5.219 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.01128, allocations: 7.984 kB / 280 MB, free: 5.211 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000498/0.01178, allocations: 217.8 kB / 280.3 MB, free: 4.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.01178, allocations: 8 kB / 280.3 MB, free: 4.973 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003451/0.01213, allocations: 155.7 kB / 280.4 MB, free: 4.82 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.249e-05/0.01216, allocations: 39.67 kB / 280.5 MB, free: 4.781 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.01217, allocations: 7.938 kB / 280.5 MB, free: 4.773 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.384e-05/0.01219, allocations: 19.94 kB / 280.5 MB, free: 4.754 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.01219, allocations: 3.984 kB / 280.5 MB, free: 4.75 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.0122, allocations: 4 kB / 280.5 MB, free: 4.746 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005492/0.01274, allocations: 0.9621 MB / 281.5 MB, free: 3.762 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.553e-05/0.01278, allocations: 19.88 kB / 281.5 MB, free: 3.742 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.01299, allocations: 12 kB / 281.5 MB, free: 3.73 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.957e-05/0.01302, allocations: 27.94 kB / 281.5 MB, free: 3.703 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.01303, allocations: 8 kB / 281.5 MB, free: 3.695 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.064e-05/0.01309, allocations: 78.77 kB / 281.6 MB, free: 3.617 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01309, allocations: 0 / 281.6 MB, free: 3.617 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004727/0.01356, allocations: 135.8 kB / 281.7 MB, free: 3.484 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.0001205/0.01368, allocations: 96.3 kB / 281.8 MB, free: 3.383 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002703/0.01395, allocations: 277.5 kB / 282.1 MB, free: 3.113 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.425e-05/0.01397, allocations: 4 kB / 282.1 MB, free: 3.109 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.507e-05/0.01406, allocations: 120.6 kB / 282.2 MB, free: 2.988 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.01514, allocations: 1.246 MB / 283.5 MB, free: 1.484 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006262/0.0214, allocations: 0.9472 MB / 284.4 MB, free: 484 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001296/0.02153, allocations: 129.8 kB / 284.5 MB, free: 332 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001989/0.02173, allocations: 48.25 kB / 284.6 MB, free: 284 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001848/0.02192, allocations: 145.2 kB / 284.7 MB, free: 140 kB / 282.7 MB Notification: Performance of SimCode: time 1.163e-06/0.02192, allocations: 0 / 284.7 MB, free: 140 kB / 282.7 MB Notification: Performance of Templates: time 0.1229/0.1448, allocations: 4.706 MB / 289.4 MB, free: 14.07 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 -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1024639066308737]