Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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.001061/0.001061, allocations: 91.5 kB / 21.19 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.001025/0.001025, allocations: 156.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.9657/0.9657, allocations: 177 MB / 204.8 MB, free: 5.605 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.2499/0.2499, allocations: 34.87 MB / 296.3 MB, free: 0.5352 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.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_trunk_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_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 378.7 MB, free: 2.117 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.911e-05/3.098e-05, allocations: 3.859 kB / 378.7 MB, free: 2.113 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.003309/0.00334, allocations: 3.288 MB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.00479, allocations: 0.8333 MB / 382.9 MB, free: 13.96 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000197/0.004987, allocations: 15.88 kB / 382.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001852/0.005172, allocations: 71.19 kB / 383 MB, free: 13.88 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003214/0.005494, allocations: 186.4 kB / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002614/0.005755, allocations: 107.8 kB / 383.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005991/0.006354, allocations: 0.6218 MB / 383.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002825/0.006637, allocations: 117.9 kB / 384 MB, free: 12.85 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003948/0.007032, allocations: 347.2 kB / 384.3 MB, free: 12.51 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002184/0.00725, allocations: 179.5 kB / 384.5 MB, free: 12.33 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.079e-05/0.007311, allocations: 40 kB / 384.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.125e-05/0.007382, allocations: 44 kB / 384.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.621e-05/0.007448, allocations: 103.6 kB / 384.7 MB, free: 12.15 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.007611, allocations: 187.6 kB / 384.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003796/0.00799, allocations: 382.5 kB / 385.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.007995, allocations: 4 kB / 385.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.007996, allocations: 0 / 385.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.008002, allocations: 7.938 kB / 385.2 MB, free: 11.58 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.0008728/0.008875, allocations: 0.7881 MB / 386 MB, free: 10.75 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.008914, allocations: 8.031 kB / 386 MB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001295/0.009044, allocations: 96.61 kB / 386.1 MB, free: 10.65 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003384/0.009382, allocations: 271.2 kB / 386.4 MB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.862e-05/0.009411, allocations: 33.38 kB / 386.4 MB, free: 10.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.066e-05/0.009482, allocations: 60.28 kB / 386.5 MB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000505/0.009987, allocations: 352.8 kB / 386.8 MB, free: 9.902 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.01001, allocations: 8.141 kB / 386.8 MB, free: 9.895 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.239e-05/0.01004, allocations: 24.31 kB / 386.9 MB, free: 9.871 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.594e-05/0.01006, allocations: 15.94 kB / 386.9 MB, free: 9.855 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003249/0.01038, allocations: 206.5 kB / 387.1 MB, free: 9.656 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001242/0.01163, allocations: 1.009 MB / 388.1 MB, free: 8.605 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004972/0.01212, allocations: 326.2 kB / 388.4 MB, free: 8.258 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001977/0.01232, allocations: 151 kB / 388.6 MB, free: 8.105 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.01234, allocations: 8.5 kB / 388.6 MB, free: 8.098 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.01237, allocations: 45.88 kB / 388.6 MB, free: 8.043 MB / 362.7 MB Notification: Performance of pre-optimization done (n=62): time 1.994e-06/0.01237, allocations: 0 / 388.6 MB, free: 8.043 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.002063/0.01443, allocations: 1.66 MB / 390.3 MB, free: 6.277 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/0.01448, allocations: 85.61 kB / 390.4 MB, free: 6.176 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002055/0.01469, allocations: 288.2 kB / 390.6 MB, free: 5.879 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.01472, allocations: 41.7 kB / 390.7 MB, free: 5.832 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.01484, allocations: 264 kB / 390.9 MB, free: 5.566 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001704/0.01501, allocations: 281.5 kB / 391.2 MB, free: 5.289 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001256/0.01514, allocations: 128.3 kB / 391.3 MB, free: 5.156 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.01529, allocations: 0.5235 MB / 391.9 MB, free: 4.621 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.01546, allocations: 101.9 kB / 392 MB, free: 4.523 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002407/0.0157, allocations: 242.8 kB / 392.2 MB, free: 4.238 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004589/0.01616, allocations: 400.5 kB / 392.6 MB, free: 3.793 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.01616, allocations: 3.938 kB / 392.6 MB, free: 3.789 MB / 362.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0006045/0.01677, allocations: 0.489 MB / 393.1 MB, free: 3.293 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.01678, allocations: 4 kB / 393.1 MB, free: 3.289 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.01679, allocations: 4 kB / 393.1 MB, free: 3.285 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.01681, allocations: 8 kB / 393.1 MB, free: 3.277 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004374/0.01724, allocations: 180 kB / 393.3 MB, free: 3.102 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.01725, allocations: 4 kB / 393.3 MB, free: 3.098 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001746/0.01743, allocations: 27.98 kB / 393.3 MB, free: 3.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.804e-05/0.01746, allocations: 28 kB / 393.3 MB, free: 3.043 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.0001274/0.01758, allocations: 204.3 kB / 393.5 MB, free: 2.832 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.053e-05/0.01767, allocations: 67.72 kB / 393.6 MB, free: 2.766 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.917e-05/0.01774, allocations: 55.61 kB / 393.6 MB, free: 2.711 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.01775, allocations: 4 kB / 393.7 MB, free: 2.707 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.01776, allocations: 8 kB / 393.7 MB, free: 2.699 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.01776, allocations: 3.984 kB / 393.7 MB, free: 2.695 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001314/0.01908, allocations: 1.307 MB / 395 MB, free: 1.281 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.01908, allocations: 4.062 kB / 395 MB, free: 1.277 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004574/0.01954, allocations: 159.8 kB / 395.1 MB, free: 1.121 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.01954, allocations: 4 kB / 395.1 MB, free: 1.117 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.893e-05/0.01957, allocations: 16 kB / 395.2 MB, free: 1.102 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.045e-06/0.01958, allocations: 11.94 kB / 395.2 MB, free: 1.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.01958, allocations: 4 kB / 395.2 MB, free: 1.086 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007792/0.02036, allocations: 0.9007 MB / 396.1 MB, free: 128 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.495e-05/0.02041, allocations: 39.72 kB / 396.1 MB, free: 88 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.452e-05/0.02045, allocations: 28.06 kB / 396.1 MB, free: 60 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001975/0.02065, allocations: 19.98 kB / 396.2 MB, free: 40 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.133e-05/0.02072, allocations: 56.38 kB / 396.2 MB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.226e-05/0.02074, allocations: 20 kB / 396.2 MB, free: 15.96 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001093/0.02085, allocations: 189.1 kB / 396.4 MB, free: 15.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02085, allocations: 0 / 396.4 MB, free: 15.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004511/0.0213, allocations: 148 kB / 396.6 MB, free: 15.63 MB / 378.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 0.0001166/0.02142, allocations: 127.1 kB / 396.7 MB, free: 15.49 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004955/0.02191, allocations: 365.7 kB / 397 MB, free: 15.13 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.02192, allocations: 0 / 397 MB, free: 15.13 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002245/0.02214, allocations: 196.8 kB / 397.2 MB, free: 14.94 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006754/0.02282, allocations: 133.5 kB / 397.4 MB, free: 14.81 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001824/0.02464, allocations: 1.396 MB / 398.8 MB, free: 13.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001025/0.02474, allocations: 127.3 kB / 398.9 MB, free: 13.19 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000143/0.02489, allocations: 60.64 kB / 398.9 MB, free: 13.13 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.714e-05/0.02497, allocations: 44.44 kB / 399 MB, free: 13.09 MB / 378.7 MB Notification: Performance of SimCode: time 5.81e-07/0.02497, allocations: 4 kB / 399 MB, free: 13.08 MB / 378.7 MB Notification: Performance of Templates: time 0.009007/0.03398, allocations: 5.642 MB / 404.6 MB, free: 7.543 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.1934991502203047]