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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 187 kB / 18.09 MB, free: 3.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 223.3 MB / 242.1 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007733/0.0007732, allocations: 104 kB / 293.3 MB, free: 10.77 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3732/0.3732, allocations: 44.15 MB / 388.5 MB, free: 38.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005437/0.0005439, allocations: 12 kB / 461.1 MB, free: 1.547 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.3692, allocations: 61.87 MB / 0.5107 GB, free: 38.34 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1215/0.4906, allocations: 88.39 MB / 0.597 GB, free: 6.703 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/0.4909, allocations: 79.88 kB / 0.5971 GB, free: 6.629 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02257/0.5135, allocations: 8.77 MB / 0.6057 GB, free: 13.82 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.5135, allocations: 0 / 0.6057 GB, free: 13.82 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.51e-05/0.5136, allocations: 12 kB / 0.6057 GB, free: 13.81 MB / 426.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.001044/0.5146, allocations: 0.6666 MB / 0.6063 GB, free: 13.09 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.5147, allocations: 8.031 kB / 0.6064 GB, free: 13.09 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001335/0.5148, allocations: 60.22 kB / 0.6064 GB, free: 13.03 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003662/0.5152, allocations: 306.4 kB / 0.6067 GB, free: 12.69 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.259e-05/0.5152, allocations: 37.38 kB / 0.6067 GB, free: 12.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.923e-05/0.5153, allocations: 56.28 kB / 0.6068 GB, free: 12.6 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006682/0.516, allocations: 439.1 kB / 0.6072 GB, free: 12.16 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.126e-05/0.516, allocations: 4.094 kB / 0.6072 GB, free: 12.15 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.714e-05/0.5161, allocations: 23.94 kB / 0.6072 GB, free: 12.13 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.5161, allocations: 12 kB / 0.6072 GB, free: 12.12 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005022/0.5166, allocations: 312.5 kB / 0.6075 GB, free: 11.81 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001722/0.5183, allocations: 1.158 MB / 0.6087 GB, free: 10.6 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007234/0.5191, allocations: 484.9 kB / 0.6091 GB, free: 10.09 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002802/0.5194, allocations: 204.1 kB / 0.6093 GB, free: 9.883 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.5194, allocations: 12.36 kB / 0.6093 GB, free: 9.871 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.5194, allocations: 47.03 kB / 0.6094 GB, free: 9.812 MB / 426.7 MB Notification: Performance of pre-optimization done (n=62): time 2.074e-06/0.5195, allocations: 0 / 0.6094 GB, free: 9.812 MB / 426.7 MB Notification: Performance of matching and sorting (n=74): time 0.002998/0.5225, allocations: 2.145 MB / 0.6115 GB, free: 7.504 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.865e-05/0.5225, allocations: 85.67 kB / 0.6116 GB, free: 7.402 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000267/0.5228, allocations: 247 kB / 0.6118 GB, free: 7.156 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.151e-05/0.5228, allocations: 41.64 kB / 0.6118 GB, free: 7.109 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.523, allocations: 213 kB / 0.612 GB, free: 6.898 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001799/0.5232, allocations: 268 kB / 0.6123 GB, free: 6.633 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-05/0.5232, allocations: 16 kB / 0.6123 GB, free: 6.617 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.5234, allocations: 362.7 kB / 0.6127 GB, free: 6.254 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002575/0.5236, allocations: 153.9 kB / 0.6128 GB, free: 6.105 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003766/0.524, allocations: 273 kB / 0.6131 GB, free: 5.805 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006344/0.5246, allocations: 466.8 kB / 0.6135 GB, free: 5.312 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.5247, allocations: 0 / 0.6135 GB, free: 5.312 MB / 426.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008338/0.5255, allocations: 0.559 MB / 0.6141 GB, free: 4.746 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.5255, allocations: 4 kB / 0.6141 GB, free: 4.742 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.5255, allocations: 4.281 kB / 0.6141 GB, free: 4.738 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.441e-05/0.5256, allocations: 15.98 kB / 0.6141 GB, free: 4.723 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005806/0.5262, allocations: 175.8 kB / 0.6142 GB, free: 4.551 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.5262, allocations: 7.938 kB / 0.6143 GB, free: 4.543 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002456/0.5264, allocations: 27.98 kB / 0.6143 GB, free: 4.516 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.337e-05/0.5265, allocations: 24 kB / 0.6143 GB, free: 4.492 MB / 426.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000189/0.5267, allocations: 177.7 kB / 0.6145 GB, free: 4.309 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.5268, allocations: 51.44 kB / 0.6145 GB, free: 4.258 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.5269, allocations: 63.58 kB / 0.6146 GB, free: 4.188 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.5269, allocations: 8 kB / 0.6146 GB, free: 4.18 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.5269, allocations: 0 / 0.6146 GB, free: 4.18 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.5269, allocations: 3.984 kB / 0.6146 GB, free: 4.176 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00193/0.5289, allocations: 1.442 MB / 0.616 GB, free: 2.625 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.5289, allocations: 7.938 kB / 0.616 GB, free: 2.617 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005826/0.5295, allocations: 159.8 kB / 0.6162 GB, free: 2.461 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.789e-06/0.5295, allocations: 4.062 kB / 0.6162 GB, free: 2.457 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.532e-05/0.5295, allocations: 20.34 kB / 0.6162 GB, free: 2.438 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.835e-06/0.5296, allocations: 15.94 kB / 0.6162 GB, free: 2.422 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.5296, allocations: 11.92 kB / 0.6162 GB, free: 2.41 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.5306, allocations: 0.8959 MB / 0.6171 GB, free: 1.465 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.5307, allocations: 120.5 kB / 0.6172 GB, free: 1.328 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.682e-05/0.5308, allocations: 19.94 kB / 0.6172 GB, free: 1.309 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002748/0.5311, allocations: 20 kB / 0.6172 GB, free: 1.289 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.265e-05/0.5312, allocations: 44.38 kB / 0.6173 GB, free: 1.246 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.606e-05/0.5312, allocations: 24 kB / 0.6173 GB, free: 1.223 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001461/0.5313, allocations: 174 kB / 0.6175 GB, free: 1.051 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5313, allocations: 0 / 0.6175 GB, free: 1.051 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005031/0.5319, allocations: 148 kB / 0.6176 GB, free: 0.9062 MB / 426.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000148/0.532, allocations: 135 kB / 0.6177 GB, free: 0.7656 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006528/0.5327, allocations: 451.6 kB / 0.6182 GB, free: 336 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5327, allocations: 0 / 0.6182 GB, free: 336 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002912/0.533, allocations: 239.3 kB / 0.6184 GB, free: 96 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008567/0.5339, allocations: 106.6 kB / 0.6185 GB, free: 15.99 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00271/0.5366, allocations: 2.038 MB / 0.6205 GB, free: 13.89 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004104/0.537, allocations: 0.8526 MB / 0.6213 GB, free: 13.01 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002074/0.5372, allocations: 56.66 kB / 0.6214 GB, free: 12.95 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.941e-05/0.5373, allocations: 47.38 kB / 0.6214 GB, free: 12.91 MB / 442.7 MB Notification: Performance of SimCode: time 5.71e-07/0.5373, allocations: 0 / 0.6214 GB, free: 12.91 MB / 442.7 MB Notification: Performance of Templates: time 0.009144/0.5465, allocations: 4.88 MB / 0.6262 GB, free: 8.086 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches