Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001498/0.001498, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00144/0.00144, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9872/0.9872, allocations: 177 MB / 204.8 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3014/0.3014, allocations: 34.87 MB / 296.3 MB, free: 0.543 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 378.7 MB, free: 2.113 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.309e-05/2.447e-05, allocations: 8.281 kB / 378.8 MB, free: 2.105 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.003049/0.003073, allocations: 3.06 MB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009752/0.004048, allocations: 418.5 kB / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001707/0.004219, allocations: 7.938 kB / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001075/0.004327, allocations: 71.3 kB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002709/0.004598, allocations: 178.4 kB / 382.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002192/0.004817, allocations: 99.84 kB / 382.6 MB, free: 14.26 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004377/0.005254, allocations: 0.5672 MB / 383.1 MB, free: 13.69 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002339/0.005488, allocations: 113.2 kB / 383.3 MB, free: 13.58 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003565/0.005845, allocations: 319.3 kB / 383.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002037/0.006049, allocations: 151.6 kB / 383.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.615e-05/0.006125, allocations: 40 kB / 383.8 MB, free: 13.08 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.945e-05/0.006214, allocations: 44 kB / 383.8 MB, free: 13.04 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.596e-05/0.0063, allocations: 103.6 kB / 383.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002055/0.006506, allocations: 179.6 kB / 384.1 MB, free: 12.76 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003762/0.006882, allocations: 350.6 kB / 384.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.006886, allocations: 0 / 384.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.006888, allocations: 4 kB / 384.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.006896, allocations: 0 / 384.4 MB, free: 12.41 MB / 362.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.0007198/0.007616, allocations: 0.7454 MB / 385.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.007657, allocations: 12.02 kB / 385.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.007763, allocations: 92.66 kB / 385.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000283/0.008046, allocations: 233.2 kB / 385.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/0.00807, allocations: 37.38 kB / 385.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.523e-05/0.008135, allocations: 56.31 kB / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004183/0.008554, allocations: 404.1 kB / 386 MB, free: 10.74 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/0.008578, allocations: 12.14 kB / 386 MB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.53e-05/0.008603, allocations: 16.38 kB / 386 MB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/0.008617, allocations: 16.38 kB / 386 MB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002355/0.008853, allocations: 179.6 kB / 386.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001773/0.01063, allocations: 1.916 MB / 388.1 MB, free: 8.531 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005067/0.01113, allocations: 411.7 kB / 388.5 MB, free: 8.016 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.01127, allocations: 153.1 kB / 388.7 MB, free: 7.828 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.01129, allocations: 11.98 kB / 388.7 MB, free: 7.816 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.01133, allocations: 53.33 kB / 388.7 MB, free: 7.754 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 3.166e-06/0.01133, allocations: 0 / 388.7 MB, free: 7.754 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.0004997/0.01183, allocations: 318.4 kB / 389 MB, free: 7.438 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.529e-05/0.01191, allocations: 265 kB / 389.3 MB, free: 7.117 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.0121, allocations: 296.3 kB / 389.6 MB, free: 6.809 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.01211, allocations: 29.7 kB / 389.6 MB, free: 6.773 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.01224, allocations: 303.4 kB / 389.9 MB, free: 6.473 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.459e-05/0.01234, allocations: 186.4 kB / 390.1 MB, free: 6.289 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.945e-05/0.01244, allocations: 124.3 kB / 390.2 MB, free: 6.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.01259, allocations: 0.5195 MB / 390.7 MB, free: 5.629 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.0127, allocations: 69.94 kB / 390.8 MB, free: 5.559 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003092/0.01301, allocations: 0.4891 MB / 391.3 MB, free: 4.875 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005326/0.01354, allocations: 0.6111 MB / 391.9 MB, free: 4.074 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/0.01355, allocations: 4 kB / 391.9 MB, free: 4.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.000603/0.01415, allocations: 0.513 MB / 392.4 MB, free: 3.551 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/0.01418, allocations: 8 kB / 392.4 MB, free: 3.543 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.01419, allocations: 12.08 kB / 392.4 MB, free: 3.531 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.573e-05/0.01423, allocations: 15.98 kB / 392.5 MB, free: 3.516 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003196/0.01455, allocations: 175.7 kB / 392.6 MB, free: 3.344 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.696e-05/0.01457, allocations: 28.44 kB / 392.7 MB, free: 3.316 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001648/0.01473, allocations: 71.52 kB / 392.7 MB, free: 3.246 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.391e-05/0.01475, allocations: 32 kB / 392.8 MB, free: 3.215 MB / 362.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.000128/0.01488, allocations: 208.2 kB / 393 MB, free: 3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.015, allocations: 55.8 kB / 393 MB, free: 2.945 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.152e-05/0.01506, allocations: 33.78 kB / 393 MB, free: 2.914 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.01507, allocations: 11.98 kB / 393.1 MB, free: 2.902 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.01508, allocations: 0 / 393.1 MB, free: 2.902 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.01508, allocations: 4 kB / 393.1 MB, free: 2.898 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005522/0.01564, allocations: 304.2 kB / 393.4 MB, free: 2.566 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.01564, allocations: 0 / 393.4 MB, free: 2.566 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003105/0.01595, allocations: 131.8 kB / 393.5 MB, free: 2.438 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.01595, allocations: 4 kB / 393.5 MB, free: 2.434 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.816e-05/0.01598, allocations: 12 kB / 393.5 MB, free: 2.422 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.01599, allocations: 4 kB / 393.5 MB, free: 2.418 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.01599, allocations: 4 kB / 393.5 MB, free: 2.414 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.01699, allocations: 1.419 MB / 394.9 MB, free: 0.9609 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.432e-05/0.01703, allocations: 39.64 kB / 395 MB, free: 0.9219 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.061e-05/0.01706, allocations: 15.98 kB / 395 MB, free: 0.9062 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002045/0.01726, allocations: 12 kB / 395 MB, free: 0.8945 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.647e-05/0.0173, allocations: 32.02 kB / 395 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.01731, allocations: 20 kB / 395 MB, free: 0.8438 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.758e-05/0.0174, allocations: 193.1 kB / 395.2 MB, free: 0.6562 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0174, allocations: 0 / 395.2 MB, free: 0.6562 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005165/0.01791, allocations: 139.7 kB / 395.4 MB, free: 0.5195 MB / 362.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.0001106/0.01802, allocations: 111.2 kB / 395.5 MB, free: 412 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003454/0.01837, allocations: 303.3 kB / 395.8 MB, free: 108 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.01837, allocations: 0.75 kB / 395.8 MB, free: 108 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.01848, allocations: 119.6 kB / 395.9 MB, free: 15.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000754/0.01924, allocations: 105.5 kB / 396 MB, free: 15.89 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001629/0.02087, allocations: 1.52 MB / 397.5 MB, free: 14.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001044/0.02097, allocations: 121.8 kB / 397.6 MB, free: 14.16 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000103/0.02108, allocations: 51.44 kB / 397.7 MB, free: 14.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.347e-05/0.02113, allocations: 32.5 kB / 397.7 MB, free: 14.08 MB / 378.7 MB Notification: Performance of SimCode: time 1.503e-06/0.02113, allocations: 0 / 397.7 MB, free: 14.08 MB / 378.7 MB Notification: Performance of Templates: time 0.006658/0.02779, allocations: 4.098 MB / 401.8 MB, free: 10.06 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","",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.3634070809930563]