Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009274/0.0009274, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001568/0.001568, allocations: 173.9 kB / 24.92 MB, free: 9.18 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 1.053/1.053, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2505/0.2505, allocations: 32.8 MB / 294.6 MB, free: 1.238 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 323.3 MB, free: 9.684 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.698e-05/1.858e-05, allocations: 4 kB / 323.3 MB, free: 9.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.002818/0.002837, allocations: 3.069 MB / 326.3 MB, free: 6.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005481/0.003385, allocations: 438.2 kB / 326.8 MB, free: 6.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.003495, allocations: 15.88 kB / 326.8 MB, free: 6.145 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.952e-05/0.003585, allocations: 67.3 kB / 326.8 MB, free: 6.078 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002352/0.00382, allocations: 178.4 kB / 327 MB, free: 5.902 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001656/0.003985, allocations: 103.8 kB / 327.1 MB, free: 5.801 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003374/0.004323, allocations: 0.5646 MB / 327.7 MB, free: 5.234 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001688/0.004492, allocations: 113.8 kB / 327.8 MB, free: 5.117 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002471/0.004739, allocations: 319.4 kB / 328.1 MB, free: 4.805 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/0.004907, allocations: 163.5 kB / 328.3 MB, free: 4.645 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.1e-05/0.004948, allocations: 40 kB / 328.3 MB, free: 4.605 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.109e-05/0.004989, allocations: 40 kB / 328.3 MB, free: 4.566 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.047e-05/0.00504, allocations: 91.66 kB / 328.4 MB, free: 4.477 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.00515, allocations: 179.6 kB / 328.6 MB, free: 4.301 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002681/0.005418, allocations: 350.6 kB / 328.9 MB, free: 3.957 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.205e-06/0.005421, allocations: 4 kB / 328.9 MB, free: 3.953 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.005421, allocations: 0 / 328.9 MB, free: 3.953 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.005426, allocations: 0 / 328.9 MB, free: 3.953 MB / 298.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.000592/0.006018, allocations: 0.6297 MB / 329.6 MB, free: 3.297 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.006058, allocations: 8.031 kB / 329.6 MB, free: 3.289 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.912e-05/0.006127, allocations: 68.89 kB / 329.7 MB, free: 3.223 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.006322, allocations: 205.7 kB / 329.9 MB, free: 2.996 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.006344, allocations: 37.38 kB / 329.9 MB, free: 2.961 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.932e-05/0.006393, allocations: 60.3 kB / 329.9 MB, free: 2.902 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002931/0.006687, allocations: 366.5 kB / 330.3 MB, free: 2.508 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.006707, allocations: 16.06 kB / 330.3 MB, free: 2.492 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.006e-05/0.006727, allocations: 20.38 kB / 330.3 MB, free: 2.473 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.006736, allocations: 12.38 kB / 330.4 MB, free: 2.461 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001297/0.006866, allocations: 133.5 kB / 330.5 MB, free: 2.336 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001348/0.008214, allocations: 1.346 MB / 331.8 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002376/0.008452, allocations: 315.8 kB / 332.1 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.95e-05/0.008531, allocations: 103.6 kB / 332.2 MB, free: 432 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.008546, allocations: 12.14 kB / 332.3 MB, free: 420 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.008572, allocations: 46.5 kB / 332.3 MB, free: 364 kB / 298.7 MB Notification: Performance of pre-optimization done (n=42): time 1.993e-06/0.008574, allocations: 0 / 332.3 MB, free: 364 kB / 298.7 MB Notification: Performance of matching and sorting (n=42): time 0.0003279/0.008902, allocations: 242 kB / 332.5 MB, free: 116 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.673e-05/0.008988, allocations: 273 kB / 332.8 MB, free: 15.79 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.009109, allocations: 245 kB / 333 MB, free: 15.54 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.009125, allocations: 33.7 kB / 333.1 MB, free: 15.5 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00021/0.009335, allocations: 228.2 kB / 333.3 MB, free: 15.27 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.092e-05/0.009416, allocations: 190.4 kB / 333.5 MB, free: 15.08 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.948e-05/0.009495, allocations: 122.6 kB / 333.6 MB, free: 14.96 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.285e-05/0.009578, allocations: 351.2 kB / 333.9 MB, free: 14.61 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.222e-05/0.00963, allocations: 49.97 kB / 334 MB, free: 14.55 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001774/0.009808, allocations: 365.6 kB / 334.3 MB, free: 14.06 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000309/0.01012, allocations: 486.3 kB / 334.8 MB, free: 13.45 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.01012, allocations: 4 kB / 334.8 MB, free: 13.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0003323/0.01045, allocations: 401.9 kB / 335.2 MB, free: 13.05 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.01047, allocations: 8 kB / 335.2 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.01048, allocations: 12 kB / 335.2 MB, free: 13.03 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.0105, allocations: 12 kB / 335.3 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000383/0.01088, allocations: 214.1 kB / 335.5 MB, free: 12.81 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.527e-05/0.0109, allocations: 31.88 kB / 335.5 MB, free: 12.78 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.01103, allocations: 59.58 kB / 335.5 MB, free: 12.72 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.008e-05/0.01105, allocations: 32.09 kB / 335.6 MB, free: 12.69 MB / 314.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.542e-05/0.01114, allocations: 157.5 kB / 335.7 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.01126, allocations: 39.95 kB / 335.8 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.577e-05/0.0113, allocations: 41.77 kB / 335.8 MB, free: 12.44 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.01131, allocations: 8 kB / 335.8 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.01132, allocations: 7.938 kB / 335.8 MB, free: 12.42 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.01132, allocations: 0 / 335.8 MB, free: 12.42 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004953/0.01182, allocations: 225.5 kB / 336.1 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.01182, allocations: 4 kB / 336.1 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003514/0.01217, allocations: 150.8 kB / 336.2 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.01218, allocations: 4 kB / 336.2 MB, free: 12.03 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.0122, allocations: 15.94 kB / 336.2 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.0122, allocations: 7.938 kB / 336.2 MB, free: 12.01 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.01221, allocations: 3.938 kB / 336.2 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007229/0.01293, allocations: 0.9592 MB / 337.2 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.425e-05/0.01295, allocations: 35.7 kB / 337.2 MB, free: 10.99 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.937e-05/0.01298, allocations: 27.92 kB / 337.3 MB, free: 10.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/0.0132, allocations: 12.12 kB / 337.3 MB, free: 10.95 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.706e-05/0.01322, allocations: 27.95 kB / 337.3 MB, free: 10.92 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.01324, allocations: 8 kB / 337.3 MB, free: 10.91 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.678e-05/0.01328, allocations: 78.77 kB / 337.4 MB, free: 10.83 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01328, allocations: 0 / 337.4 MB, free: 10.83 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004537/0.01374, allocations: 135.8 kB / 337.5 MB, free: 10.7 MB / 314.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.245e-05/0.01382, allocations: 88.92 kB / 337.6 MB, free: 10.61 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002288/0.01405, allocations: 272 kB / 337.9 MB, free: 10.34 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.216e-06/0.01406, allocations: 0.8125 kB / 337.9 MB, free: 10.34 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.73e-05/0.01413, allocations: 108.6 kB / 338 MB, free: 10.23 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006528/0.01479, allocations: 103.5 kB / 338.1 MB, free: 10.14 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.01586, allocations: 1.001 MB / 339.1 MB, free: 9.082 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.455e-05/0.01595, allocations: 121.8 kB / 339.2 MB, free: 8.941 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.563e-05/0.01605, allocations: 48.25 kB / 339.2 MB, free: 8.891 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001665/0.01621, allocations: 145.2 kB / 339.4 MB, free: 8.746 MB / 314.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01621, allocations: 0 / 339.4 MB, free: 8.746 MB / 314.7 MB Notification: Performance of Templates: time 0.006999/0.02321, allocations: 5.062 MB / 344.4 MB, free: 3.836 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.043039167765528]