Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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.001004/0.001004, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001112/0.001112, allocations: 161 kB / 24.56 MB, free: 16 kB / 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 0.997/0.997, allocations: 177.1 MB / 205 MB, free: 5.633 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.2566/0.2566, allocations: 32.8 MB / 294.3 MB, free: 1.266 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.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper") translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 376 MB, free: 4.695 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.642e-05/1.787e-05, allocations: 6.25 kB / 376 MB, free: 4.688 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.003036/0.003054, allocations: 3.283 MB / 379.3 MB, free: 1.383 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001561/0.004615, allocations: 0.8255 MB / 380.1 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002437/0.004859, allocations: 15.88 kB / 380.1 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001926/0.005051, allocations: 67.25 kB / 380.2 MB, free: 480 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003427/0.005394, allocations: 190.3 kB / 380.4 MB, free: 288 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002577/0.005652, allocations: 111.8 kB / 380.5 MB, free: 176 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005673/0.006219, allocations: 0.6141 MB / 381.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002572/0.006476, allocations: 117.8 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003037/0.00678, allocations: 347.3 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001813/0.006961, allocations: 179.5 kB / 381.7 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.951e-05/0.007011, allocations: 40 kB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.881e-05/0.00708, allocations: 44 kB / 381.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.011e-05/0.00715, allocations: 111.5 kB / 381.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.007282, allocations: 187.6 kB / 382.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003418/0.007624, allocations: 378.6 kB / 382.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.007626, allocations: 3.938 kB / 382.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.007627, allocations: 0 / 382.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.054e-06/0.007634, allocations: 0 / 382.5 MB, free: 14.17 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.0007355/0.00837, allocations: 0.7959 MB / 383.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.008405, allocations: 8.031 kB / 383.3 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.573e-05/0.008501, allocations: 96.61 kB / 383.4 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.008767, allocations: 263.2 kB / 383.6 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.008791, allocations: 41.38 kB / 383.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.279e-05/0.008854, allocations: 56.28 kB / 383.7 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003973/0.009251, allocations: 352.8 kB / 384.1 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.009273, allocations: 20.06 kB / 384.1 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.703e-05/0.0093, allocations: 20.38 kB / 384.1 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.54e-05/0.009315, allocations: 19.94 kB / 384.1 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002486/0.009564, allocations: 206.4 kB / 384.3 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009816/0.01055, allocations: 1.001 MB / 385.3 MB, free: 11.19 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004471/0.01099, allocations: 330.1 kB / 385.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001644/0.01116, allocations: 148.7 kB / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.01117, allocations: 8.5 kB / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.0112, allocations: 41.89 kB / 385.8 MB, free: 10.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=62): time 1.893e-06/0.0112, allocations: 0 / 385.8 MB, free: 10.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.00171/0.01291, allocations: 1.66 MB / 387.5 MB, free: 8.867 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.01295, allocations: 89.61 kB / 387.6 MB, free: 8.762 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.0131, allocations: 284.2 kB / 387.9 MB, free: 8.469 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.01312, allocations: 41.7 kB / 387.9 MB, free: 8.422 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.01323, allocations: 264 kB / 388.2 MB, free: 8.156 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/0.01335, allocations: 277.5 kB / 388.4 MB, free: 7.883 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.971e-05/0.01345, allocations: 128.3 kB / 388.6 MB, free: 7.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.01358, allocations: 0.5274 MB / 389.1 MB, free: 7.211 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.0137, allocations: 97.92 kB / 389.2 MB, free: 7.117 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002081/0.01391, allocations: 250.8 kB / 389.4 MB, free: 6.82 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003489/0.01426, allocations: 396.7 kB / 389.8 MB, free: 6.379 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.01426, allocations: 3.938 kB / 389.8 MB, free: 6.375 MB / 362.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0004603/0.01472, allocations: 0.4891 MB / 390.3 MB, free: 5.879 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.01473, allocations: 13.8 kB / 390.3 MB, free: 5.867 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.01474, allocations: 4 kB / 390.3 MB, free: 5.863 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.01475, allocations: 4 kB / 390.3 MB, free: 5.859 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003205/0.01508, allocations: 179.7 kB / 390.5 MB, free: 5.684 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.01508, allocations: 4.281 kB / 390.5 MB, free: 5.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.01521, allocations: 31.98 kB / 390.5 MB, free: 5.648 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.155e-05/0.01523, allocations: 28 kB / 390.6 MB, free: 5.621 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (97): * Single equations (assignments): 97 * 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.0001035/0.01533, allocations: 200.3 kB / 390.8 MB, free: 5.414 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.546e-05/0.0154, allocations: 71.72 kB / 390.8 MB, free: 5.344 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.097e-05/0.01545, allocations: 51.61 kB / 390.9 MB, free: 5.293 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.01545, allocations: 8 kB / 390.9 MB, free: 5.285 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.01546, allocations: 0 / 390.9 MB, free: 5.285 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.01546, allocations: 7.984 kB / 390.9 MB, free: 5.277 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.01651, allocations: 1.303 MB / 392.2 MB, free: 3.867 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.01651, allocations: 8 kB / 392.2 MB, free: 3.859 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003547/0.01687, allocations: 160.1 kB / 392.4 MB, free: 3.703 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-06/0.01687, allocations: 11.98 kB / 392.4 MB, free: 3.691 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.01689, allocations: 16 kB / 392.4 MB, free: 3.676 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.0169, allocations: 8 kB / 392.4 MB, free: 3.668 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.0169, allocations: 3.938 kB / 392.4 MB, free: 3.664 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006225/0.01752, allocations: 0.9046 MB / 393.3 MB, free: 2.699 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.637e-05/0.01756, allocations: 43.7 kB / 393.4 MB, free: 2.656 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.184e-05/0.01759, allocations: 20 kB / 393.4 MB, free: 2.637 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.01772, allocations: 20 kB / 393.4 MB, free: 2.617 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/0.01777, allocations: 56.28 kB / 393.5 MB, free: 2.562 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.01778, allocations: 24 kB / 393.5 MB, free: 2.539 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.44e-05/0.01787, allocations: 189.1 kB / 393.7 MB, free: 2.352 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01787, allocations: 0 / 393.7 MB, free: 2.352 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002994/0.01817, allocations: 148 kB / 393.8 MB, free: 2.207 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel) * 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 (74): * Single equations (assignments): 74 * 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 7.919e-05/0.01825, allocations: 119.1 kB / 393.9 MB, free: 2.078 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003654/0.01861, allocations: 365.7 kB / 394.3 MB, free: 1.723 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.01861, allocations: 0 / 394.3 MB, free: 1.723 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001722/0.01879, allocations: 195.6 kB / 394.5 MB, free: 1.523 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004525/0.01924, allocations: 145.5 kB / 394.6 MB, free: 1.387 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.02064, allocations: 1.388 MB / 396 MB, free: 15.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.159e-05/0.02072, allocations: 127.3 kB / 396.1 MB, free: 15.77 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001174/0.02084, allocations: 60.66 kB / 396.2 MB, free: 15.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.12e-05/0.02091, allocations: 40.5 kB / 396.2 MB, free: 15.66 MB / 378.7 MB Notification: Performance of SimCode: time 6.81e-07/0.02091, allocations: 0 / 396.2 MB, free: 15.66 MB / 378.7 MB Notification: Performance of Templates: time 0.006963/0.02787, allocations: 5.353 MB / 401.6 MB, free: 10.41 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.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.361067882273346]