Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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) 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(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 221.5 MB / 230.3 MB, free: 7.562 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008495/0.0008496, allocations: 97.22 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.662e-05/1.656e-05, allocations: 0 / 337 MB, free: 10.04 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1105, allocations: 50.41 MB / 387.5 MB, free: 7.582 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3269/0.4375, allocations: 77.68 MB / 465.1 MB, free: 1.188 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002025/0.4377, allocations: 67.97 kB / 465.2 MB, free: 1.121 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009889/0.4476, allocations: 3.865 MB / 469.1 MB, free: 13.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.4477, allocations: 0 / 469.1 MB, free: 13.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.4477, allocations: 8 kB / 469.1 MB, free: 13.26 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.000537/0.4482, allocations: 462.8 kB / 469.5 MB, free: 12.76 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.4483, allocations: 12.03 kB / 469.5 MB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.638e-05/0.4483, allocations: 23.72 kB / 469.6 MB, free: 12.72 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/0.4486, allocations: 227.4 kB / 469.8 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.4486, allocations: 8 kB / 469.8 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.055e-05/0.4487, allocations: 16 kB / 469.8 MB, free: 12.43 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002014/0.4489, allocations: 100.8 kB / 469.9 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002722/0.4492, allocations: 173 kB / 470.1 MB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.4492, allocations: 3.906 kB / 470.1 MB, free: 12.15 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.4492, allocations: 3.953 kB / 470.1 MB, free: 12.15 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.4492, allocations: 4 kB / 470.1 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008367/0.4501, allocations: 0.6506 MB / 470.7 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.4503, allocations: 139.8 kB / 470.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.61e-05/0.4504, allocations: 60.84 kB / 470.9 MB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.4504, allocations: 4 kB / 470.9 MB, free: 11.24 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.4504, allocations: 34.5 kB / 471 MB, free: 11.2 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 1.433e-06/0.4504, allocations: 224 / 471 MB, free: 11.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.001175/0.4516, allocations: 0.7601 MB / 471.7 MB, free: 10.35 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.4517, allocations: 55.41 kB / 471.8 MB, free: 10.29 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.4518, allocations: 138.8 kB / 471.9 MB, free: 10.14 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.4518, allocations: 29.7 kB / 471.9 MB, free: 10.11 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.558e-05/0.4519, allocations: 144.2 kB / 472.1 MB, free: 9.961 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.559e-05/0.452, allocations: 86.75 kB / 472.2 MB, free: 9.875 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.393e-06/0.452, allocations: 0 / 472.2 MB, free: 9.875 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.4521, allocations: 330.8 kB / 472.5 MB, free: 9.543 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.563e-05/0.4522, allocations: 40 kB / 472.5 MB, free: 9.504 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.4523, allocations: 88.27 kB / 472.6 MB, free: 9.402 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.4524, allocations: 59.91 kB / 472.7 MB, free: 9.344 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.4524, allocations: 8 kB / 472.7 MB, free: 9.336 MB / 346.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003221/0.4528, allocations: 210.1 kB / 472.9 MB, free: 9.121 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.4528, allocations: 8 kB / 472.9 MB, free: 9.113 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.4528, allocations: 0.75 kB / 472.9 MB, free: 9.113 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001365/0.4529, allocations: 28.84 kB / 472.9 MB, free: 9.082 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/0.4532, allocations: 56.03 kB / 473 MB, free: 9.027 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001038/0.4542, allocations: 1.327 MB / 474.3 MB, free: 7.582 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.4543, allocations: 12.06 kB / 474.3 MB, free: 7.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.4544, allocations: 8 kB / 474.3 MB, free: 7.562 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.039e-05/0.4544, allocations: 112.9 kB / 474.4 MB, free: 7.445 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.186e-05/0.4545, allocations: 19.77 kB / 474.5 MB, free: 7.426 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.102e-05/0.4546, allocations: 25.91 kB / 474.5 MB, free: 7.402 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.4546, allocations: 0 / 474.5 MB, free: 7.402 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.4546, allocations: 4 kB / 474.5 MB, free: 7.398 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.4546, allocations: 3.984 kB / 474.5 MB, free: 7.395 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007866/0.4554, allocations: 0.5754 MB / 475.1 MB, free: 6.762 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.4554, allocations: 0 / 475.1 MB, free: 6.762 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002085/0.4556, allocations: 48.03 kB / 475.1 MB, free: 6.715 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.935e-05/0.4557, allocations: 32.84 kB / 475.1 MB, free: 6.68 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.4557, allocations: 7.984 kB / 475.2 MB, free: 6.672 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009811/0.4567, allocations: 1.327 MB / 476.5 MB, free: 5.23 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.4568, allocations: 3.953 kB / 476.5 MB, free: 5.227 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004373/0.4572, allocations: 385.6 kB / 476.9 MB, free: 4.812 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.738e-05/0.4573, allocations: 92.86 kB / 477 MB, free: 4.703 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.4573, allocations: 0 / 477 MB, free: 4.703 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.4574, allocations: 4 kB / 477 MB, free: 4.699 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.057e-05/0.4575, allocations: 19.97 kB / 477 MB, free: 4.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.4575, allocations: 8 kB / 477 MB, free: 4.672 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.68e-05/0.4576, allocations: 115.5 kB / 477.1 MB, free: 4.559 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.226e-06/0.4576, allocations: 4 kB / 477.1 MB, free: 4.555 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003346/0.4579, allocations: 55.94 kB / 477.2 MB, free: 4.5 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001575/0.4581, allocations: 103.2 kB / 477.3 MB, free: 4.387 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004434/0.4585, allocations: 272.8 kB / 477.5 MB, free: 4.113 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4586, allocations: 3.938 kB / 477.5 MB, free: 4.109 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002505/0.4588, allocations: 196.4 kB / 477.7 MB, free: 3.91 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.4591, allocations: 23.94 kB / 477.7 MB, free: 3.887 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008547/0.46, allocations: 0.5229 MB / 478.3 MB, free: 3.34 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.4603, allocations: 0.7519 MB / 479 MB, free: 2.559 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.962e-05/0.4604, allocations: 22.06 kB / 479 MB, free: 2.535 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.104e-05/0.4604, allocations: 19.44 kB / 479.1 MB, free: 2.516 MB / 346.7 MB Notification: Performance of SimCode: time 2.445e-06/0.4604, allocations: 3.938 kB / 479.1 MB, free: 2.512 MB / 346.7 MB Notification: Performance of Templates: time 0.004624/0.4651, allocations: 2.029 MB / 481.1 MB, free: 0.5 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.FirstGrounded.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches