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.001044/0.001044, allocations: 177.3 kB / 17.06 MB, free: 5.098 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.28/1.28, allocations: 223.2 MB / 241 MB, free: 11.88 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.0007983/0.0007981, allocations: 98.47 kB / 292.2 MB, free: 10.89 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.3236/0.3236, allocations: 44.22 MB / 387.5 MB, free: 38.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003441/0.0003441, allocations: 12 kB / 459.9 MB, free: 1.52 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2926, allocations: 61.89 MB / 0.5095 GB, free: 38.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.109/0.4017, allocations: 88.39 MB / 0.5959 GB, free: 6.734 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001997/0.4019, allocations: 75.97 kB / 0.5959 GB, free: 6.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02192/0.4239, allocations: 8.77 MB / 0.6045 GB, free: 13.86 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.4239, allocations: 0 / 0.6045 GB, free: 13.86 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.906e-05/0.4239, allocations: 12 kB / 0.6045 GB, free: 13.85 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.0008357/0.4248, allocations: 0.6664 MB / 0.6052 GB, free: 13.14 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.4248, allocations: 12.03 kB / 0.6052 GB, free: 13.12 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.857e-05/0.4249, allocations: 59.28 kB / 0.6052 GB, free: 13.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003151/0.4252, allocations: 301.2 kB / 0.6055 GB, free: 12.73 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.014e-05/0.4253, allocations: 37 kB / 0.6056 GB, free: 12.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.791e-05/0.4253, allocations: 51.91 kB / 0.6056 GB, free: 12.64 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006169/0.426, allocations: 430.6 kB / 0.606 GB, free: 12.21 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.583e-05/0.426, allocations: 7.906 kB / 0.606 GB, free: 12.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.371e-05/0.426, allocations: 20 kB / 0.606 GB, free: 12.18 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.426, allocations: 12 kB / 0.6061 GB, free: 12.17 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004526/0.4265, allocations: 316.4 kB / 0.6064 GB, free: 11.86 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001541/0.4281, allocations: 1.162 MB / 0.6075 GB, free: 10.64 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006389/0.4287, allocations: 485.1 kB / 0.608 GB, free: 10.13 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.4287, allocations: 12.39 kB / 0.608 GB, free: 10.12 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.4288, allocations: 35 kB / 0.608 GB, free: 10.07 MB / 426.7 MB Notification: Performance of pre-optimization done (n=62): time 1.773e-06/0.4288, allocations: 0 / 0.608 GB, free: 10.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=74): time 0.002648/0.4314, allocations: 2.134 MB / 0.6101 GB, free: 7.773 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.4315, allocations: 85.67 kB / 0.6102 GB, free: 7.672 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002085/0.4317, allocations: 222.2 kB / 0.6104 GB, free: 7.449 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.439e-05/0.4317, allocations: 37.7 kB / 0.6104 GB, free: 7.406 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.4319, allocations: 213 kB / 0.6106 GB, free: 7.191 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001626/0.432, allocations: 268 kB / 0.6109 GB, free: 6.926 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.279e-05/0.4321, allocations: 19.94 kB / 0.6109 GB, free: 6.906 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.4322, allocations: 362.7 kB / 0.6112 GB, free: 6.543 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002321/0.4325, allocations: 149.9 kB / 0.6114 GB, free: 6.398 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003139/0.4328, allocations: 276.8 kB / 0.6116 GB, free: 6.09 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002859/0.4331, allocations: 200.4 kB / 0.6118 GB, free: 5.895 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.4331, allocations: 0 / 0.6118 GB, free: 5.895 MB / 426.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0007186/0.4338, allocations: 0.5552 MB / 0.6124 GB, free: 5.332 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.4338, allocations: 4 kB / 0.6124 GB, free: 5.328 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.4338, allocations: 4.281 kB / 0.6124 GB, free: 5.324 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.4339, allocations: 11.94 kB / 0.6124 GB, free: 5.312 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005474/0.4344, allocations: 183.7 kB / 0.6126 GB, free: 5.133 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.4344, allocations: 4 kB / 0.6126 GB, free: 5.129 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002267/0.4347, allocations: 27.98 kB / 0.6126 GB, free: 5.102 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.291e-05/0.4347, allocations: 20 kB / 0.6126 GB, free: 5.082 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.0002016/0.4349, allocations: 189.6 kB / 0.6128 GB, free: 4.887 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.69e-05/0.435, allocations: 47.44 kB / 0.6128 GB, free: 4.84 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001188/0.4351, allocations: 59.64 kB / 0.6129 GB, free: 4.781 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.4351, allocations: 8 kB / 0.6129 GB, free: 4.773 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.4352, allocations: 0 / 0.6129 GB, free: 4.773 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.4352, allocations: 7.984 kB / 0.6129 GB, free: 4.766 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001857/0.437, allocations: 1.446 MB / 0.6143 GB, free: 3.203 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.4371, allocations: 4 kB / 0.6143 GB, free: 3.199 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006066/0.4377, allocations: 163.8 kB / 0.6145 GB, free: 3.039 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.4377, allocations: 4 kB / 0.6145 GB, free: 3.035 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.623e-05/0.4377, allocations: 24.27 kB / 0.6145 GB, free: 3.012 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.703e-06/0.4377, allocations: 15.94 kB / 0.6145 GB, free: 2.996 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.4378, allocations: 0 / 0.6145 GB, free: 2.996 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.4388, allocations: 1.041 MB / 0.6156 GB, free: 1.832 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.425e-05/0.4389, allocations: 120.5 kB / 0.6157 GB, free: 1.695 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.204e-05/0.439, allocations: 24.06 kB / 0.6157 GB, free: 1.672 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002597/0.4393, allocations: 23.98 kB / 0.6157 GB, free: 1.648 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.774e-05/0.4393, allocations: 48.27 kB / 0.6158 GB, free: 1.602 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.723e-05/0.4394, allocations: 20 kB / 0.6158 GB, free: 1.582 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001454/0.4395, allocations: 174 kB / 0.6159 GB, free: 1.414 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4395, allocations: 0 / 0.6159 GB, free: 1.414 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005043/0.44, allocations: 152 kB / 0.6161 GB, free: 1.266 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.000158/0.4402, allocations: 119.1 kB / 0.6162 GB, free: 1.137 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000588/0.4408, allocations: 443.6 kB / 0.6166 GB, free: 0.7031 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4408, allocations: 0 / 0.6166 GB, free: 0.7031 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002804/0.4411, allocations: 246.9 kB / 0.6169 GB, free: 476 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005787/0.4417, allocations: 101.6 kB / 0.617 GB, free: 380 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002406/0.4441, allocations: 2.023 MB / 0.6189 GB, free: 14.28 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003836/0.4445, allocations: 0.8604 MB / 0.6198 GB, free: 13.39 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001718/0.4447, allocations: 60.66 kB / 0.6198 GB, free: 13.33 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.637e-05/0.4448, allocations: 39.44 kB / 0.6199 GB, free: 13.29 MB / 442.7 MB Notification: Performance of SimCode: time 3.4e-07/0.4448, allocations: 4 kB / 0.6199 GB, free: 13.29 MB / 442.7 MB Notification: Performance of Templates: time 0.008402/0.4532, allocations: 4.811 MB / 0.6246 GB, free: 8.531 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/jenkins/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