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.0009891/0.0009891, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.000978/0.000978, allocations: 163.4 kB / 24.91 MB, free: 8.715 MB / 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 1.017/1.017, allocations: 177 MB / 205.2 MB, free: 5.062 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.2623/0.2623, allocations: 34.85 MB / 296.6 MB, free: 400 kB / 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.343e-06/1.343e-06, allocations: 0 / 325.9 MB, free: 7.125 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.156e-05/2.29e-05, allocations: 5.406 kB / 325.9 MB, free: 7.121 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.003041/0.003064, allocations: 3.282 MB / 329.2 MB, free: 3.82 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001143/0.004207, allocations: 0.8496 MB / 330.1 MB, free: 2.965 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001334/0.004341, allocations: 15.88 kB / 330.1 MB, free: 2.949 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000166/0.004507, allocations: 75.23 kB / 330.2 MB, free: 2.875 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002383/0.004745, allocations: 182.3 kB / 330.3 MB, free: 2.695 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001825/0.004927, allocations: 111.8 kB / 330.5 MB, free: 2.586 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003947/0.005322, allocations: 0.6154 MB / 331.1 MB, free: 1.969 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001859/0.005508, allocations: 126.5 kB / 331.2 MB, free: 1.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002696/0.005777, allocations: 351.2 kB / 331.5 MB, free: 1.496 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001966/0.005974, allocations: 179.5 kB / 331.7 MB, free: 1.32 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.704e-05/0.006021, allocations: 40 kB / 331.8 MB, free: 1.281 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.814e-05/0.006069, allocations: 48 kB / 331.8 MB, free: 1.234 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.602e-05/0.006125, allocations: 107.6 kB / 331.9 MB, free: 1.129 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001183/0.006243, allocations: 183.6 kB / 332.1 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003182/0.006562, allocations: 394.5 kB / 332.5 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.006564, allocations: 0 / 332.5 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.006564, allocations: 0 / 332.5 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.006569, allocations: 0 / 332.5 MB, free: 0.5586 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.0005907/0.00716, allocations: 0.6763 MB / 333.1 MB, free: 15.86 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.06e-05/0.00719, allocations: 8.031 kB / 333.2 MB, free: 15.85 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.126e-05/0.007262, allocations: 68.89 kB / 333.2 MB, free: 15.79 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.00749, allocations: 224.5 kB / 333.4 MB, free: 15.54 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/0.007513, allocations: 41.38 kB / 333.5 MB, free: 15.5 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.925e-05/0.007563, allocations: 56.31 kB / 333.5 MB, free: 15.45 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002712/0.007834, allocations: 339 kB / 333.9 MB, free: 15.1 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.007852, allocations: 4.141 kB / 333.9 MB, free: 15.09 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/0.007872, allocations: 20.38 kB / 333.9 MB, free: 15.07 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.007882, allocations: 15.94 kB / 333.9 MB, free: 15.06 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/0.008038, allocations: 147.6 kB / 334 MB, free: 14.92 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007878/0.008826, allocations: 0.7689 MB / 334.8 MB, free: 14.13 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002908/0.009116, allocations: 265.9 kB / 335.1 MB, free: 13.85 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.773e-05/0.009214, allocations: 115.8 kB / 335.2 MB, free: 13.73 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.00923, allocations: 12.5 kB / 335.2 MB, free: 13.72 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.009253, allocations: 39.06 kB / 335.2 MB, free: 13.67 MB / 314.7 MB Notification: Performance of pre-optimization done (n=62): time 1.903e-06/0.009255, allocations: 0 / 335.2 MB, free: 13.67 MB / 314.7 MB Notification: Performance of matching and sorting (n=74): time 0.00144/0.01069, allocations: 1.424 MB / 336.7 MB, free: 12.17 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.01073, allocations: 85.61 kB / 336.7 MB, free: 12.06 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.01084, allocations: 225 kB / 337 MB, free: 11.83 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.01086, allocations: 37.7 kB / 337 MB, free: 11.79 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.035e-05/0.01094, allocations: 201.7 kB / 337.2 MB, free: 11.59 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.01106, allocations: 289.5 kB / 337.5 MB, free: 11.3 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.785e-05/0.01115, allocations: 118.6 kB / 337.6 MB, free: 11.18 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.006e-05/0.01124, allocations: 358.7 kB / 337.9 MB, free: 10.82 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.423e-05/0.0113, allocations: 65.97 kB / 338 MB, free: 10.76 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.01143, allocations: 196.8 kB / 338.2 MB, free: 10.53 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002285/0.01166, allocations: 314.4 kB / 338.5 MB, free: 10.18 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.01166, allocations: 0 / 338.5 MB, free: 10.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0002925/0.01195, allocations: 356.9 kB / 338.9 MB, free: 9.828 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.01197, allocations: 4 kB / 338.9 MB, free: 9.824 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.01197, allocations: 4 kB / 338.9 MB, free: 9.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.01199, allocations: 4 kB / 338.9 MB, free: 9.816 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003746/0.01236, allocations: 207.4 kB / 339.1 MB, free: 9.617 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.01237, allocations: 15.94 kB / 339.1 MB, free: 9.602 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.01247, allocations: 20 kB / 339.1 MB, free: 9.582 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.01249, allocations: 24 kB / 339.1 MB, free: 9.559 MB / 314.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 9.164e-05/0.01258, allocations: 149.6 kB / 339.3 MB, free: 9.402 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.625e-05/0.01264, allocations: 55.95 kB / 339.3 MB, free: 9.348 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.354e-05/0.01269, allocations: 55.67 kB / 339.4 MB, free: 9.289 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.0127, allocations: 8 kB / 339.4 MB, free: 9.281 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.0127, allocations: 4 kB / 339.4 MB, free: 9.277 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.01271, allocations: 7.984 kB / 339.4 MB, free: 9.27 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008354/0.01354, allocations: 0.9587 MB / 340.4 MB, free: 8.234 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.01355, allocations: 8.344 kB / 340.4 MB, free: 8.227 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003855/0.01393, allocations: 186.2 kB / 340.6 MB, free: 8.047 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.01394, allocations: 8 kB / 340.6 MB, free: 8.039 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.01396, allocations: 15.94 kB / 340.6 MB, free: 8.023 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.01396, allocations: 8 kB / 340.6 MB, free: 8.016 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.01397, allocations: 4 kB / 340.6 MB, free: 8.012 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004191/0.01439, allocations: 0.6638 MB / 341.3 MB, free: 7.305 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.251e-05/0.01442, allocations: 35.77 kB / 341.3 MB, free: 7.27 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.891e-05/0.01445, allocations: 15.94 kB / 341.3 MB, free: 7.254 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.01457, allocations: 23.94 kB / 341.3 MB, free: 7.23 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/0.01461, allocations: 48.41 kB / 341.4 MB, free: 7.184 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.01463, allocations: 16 kB / 341.4 MB, free: 7.168 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.715e-05/0.01467, allocations: 78.7 kB / 341.5 MB, free: 7.086 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01467, allocations: 0 / 341.5 MB, free: 7.086 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002753/0.01495, allocations: 148 kB / 341.6 MB, free: 6.941 MB / 314.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 8.13e-05/0.01503, allocations: 100.2 kB / 341.7 MB, free: 6.836 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002558/0.01529, allocations: 310.9 kB / 342 MB, free: 6.531 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.01529, allocations: 4 kB / 342 MB, free: 6.527 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.01542, allocations: 179 kB / 342.2 MB, free: 6.355 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004047/0.01582, allocations: 135.4 kB / 342.3 MB, free: 6.23 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.01692, allocations: 1.066 MB / 343.4 MB, free: 5.094 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.035e-05/0.017, allocations: 131.3 kB / 343.5 MB, free: 4.949 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001103/0.01711, allocations: 56.7 kB / 343.6 MB, free: 4.895 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002016/0.01731, allocations: 173.3 kB / 343.7 MB, free: 4.723 MB / 314.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01731, allocations: 0 / 343.7 MB, free: 4.723 MB / 314.7 MB Notification: Performance of Templates: time 0.0076/0.02491, allocations: 6.195 MB / 349.9 MB, free: 14.73 MB / 330.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 -s gbode -gbm=radauIIA3 -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: 2.9586705872789025]