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.001336/0.001336, allocations: 175.1 kB / 13.63 MB, free: 1.684 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.409/1.409, allocations: 221.3 MB / 235.5 MB, free: 2.949 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.001039/0.001039, allocations: 103.6 kB / 286.5 MB, free: 232 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.706e-05/3.71e-05, allocations: 0 / 343.8 MB, free: 4.332 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1016, allocations: 50.42 MB / 394.2 MB, free: 1.867 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3465/0.4481, allocations: 78.34 MB / 472.6 MB, free: 9.23 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/0.4485, allocations: 75.8 kB / 472.7 MB, free: 9.16 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01064/0.4591, allocations: 3.887 MB / 476.5 MB, free: 5.277 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.859e-06/0.4592, allocations: 0 / 476.5 MB, free: 5.277 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.539e-05/0.4592, allocations: 7.938 kB / 476.5 MB, free: 5.27 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.0005966/0.4598, allocations: 466.9 kB / 477 MB, free: 4.766 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.4599, allocations: 12.03 kB / 477 MB, free: 4.754 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.812e-05/0.4599, allocations: 23.72 kB / 477 MB, free: 4.73 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/0.4602, allocations: 223.4 kB / 477.3 MB, free: 4.469 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.4602, allocations: 16.44 kB / 477.3 MB, free: 4.453 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.827e-05/0.4603, allocations: 27.91 kB / 477.3 MB, free: 4.426 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003626/0.4607, allocations: 201.8 kB / 477.5 MB, free: 4.219 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/0.4607, allocations: 7.984 kB / 477.5 MB, free: 4.211 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/0.4607, allocations: 4 kB / 477.5 MB, free: 4.207 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.4607, allocations: 7.953 kB / 477.5 MB, free: 4.199 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002056/0.461, allocations: 117.7 kB / 477.6 MB, free: 4.086 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009946/0.462, allocations: 0.6976 MB / 478.3 MB, free: 3.332 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002583/0.4622, allocations: 143.5 kB / 478.5 MB, free: 3.184 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001227/0.4624, allocations: 64.84 kB / 478.5 MB, free: 3.117 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.4624, allocations: 3.938 kB / 478.5 MB, free: 3.113 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.4624, allocations: 38.56 kB / 478.6 MB, free: 3.066 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 1.343e-06/0.4624, allocations: 4.219 kB / 478.6 MB, free: 3.062 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.001451/0.4639, allocations: 0.8201 MB / 479.4 MB, free: 2.16 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.464, allocations: 55.34 kB / 479.5 MB, free: 2.094 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.4641, allocations: 153.9 kB / 479.6 MB, free: 1.93 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.4641, allocations: 29.7 kB / 479.6 MB, free: 1.895 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.293e-05/0.4642, allocations: 156.2 kB / 479.8 MB, free: 1.738 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.444e-05/0.4643, allocations: 78.83 kB / 479.9 MB, free: 1.66 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.217e-06/0.4643, allocations: 4 kB / 479.9 MB, free: 1.656 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.4645, allocations: 330.8 kB / 480.2 MB, free: 1.324 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.654e-05/0.4646, allocations: 48 kB / 480.2 MB, free: 1.277 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.4647, allocations: 88.28 kB / 480.3 MB, free: 1.176 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.4648, allocations: 63.98 kB / 480.4 MB, free: 1.113 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.4648, allocations: 0 / 480.4 MB, free: 1.113 MB / 346.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000366/0.4652, allocations: 234 kB / 480.6 MB, free: 0.875 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.4652, allocations: 12.11 kB / 480.6 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.4652, allocations: 4 kB / 480.6 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001609/0.4654, allocations: 36.78 kB / 480.7 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/0.4656, allocations: 47.97 kB / 480.7 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001239/0.4669, allocations: 1.374 MB / 482.1 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.467, allocations: 8.031 kB / 482.1 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.067e-05/0.467, allocations: 12 kB / 482.1 MB, free: 15.25 MB / 362.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 0.0001051/0.4672, allocations: 124.8 kB / 482.2 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.23e-05/0.4672, allocations: 15.88 kB / 482.2 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.805e-05/0.4673, allocations: 29.64 kB / 482.3 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.4673, allocations: 4 kB / 482.3 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.4673, allocations: 0 / 482.3 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.4673, allocations: 0 / 482.3 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008633/0.4682, allocations: 0.6453 MB / 482.9 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.281e-06/0.4682, allocations: 11.94 kB / 482.9 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002086/0.4684, allocations: 35.98 kB / 483 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001077/0.4685, allocations: 40.83 kB / 483 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.4685, allocations: 0 / 483 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001209/0.4698, allocations: 1.378 MB / 484.4 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.4698, allocations: 3.984 kB / 484.4 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005357/0.4703, allocations: 409.6 kB / 484.8 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.774e-05/0.4704, allocations: 96.86 kB / 484.9 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.4704, allocations: 8 kB / 484.9 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.4706, allocations: 11.98 kB / 484.9 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.691e-05/0.4706, allocations: 23.92 kB / 484.9 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.4707, allocations: 4 kB / 484.9 MB, free: 12.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001202/0.4708, allocations: 136.8 kB / 485.1 MB, free: 12.01 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4708, allocations: 0 / 485.1 MB, free: 12.01 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003349/0.4711, allocations: 60 kB / 485.1 MB, free: 11.95 MB / 362.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.0002222/0.4714, allocations: 107.2 kB / 485.2 MB, free: 11.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005611/0.4719, allocations: 286.1 kB / 485.5 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.472, allocations: 0 / 485.5 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002936/0.4723, allocations: 202.6 kB / 485.7 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.4726, allocations: 32.58 kB / 485.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009454/0.4736, allocations: 0.5323 MB / 486.3 MB, free: 10.74 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.4739, allocations: 0.7483 MB / 487 MB, free: 9.965 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.431e-05/0.474, allocations: 22.06 kB / 487 MB, free: 9.941 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.283e-05/0.474, allocations: 23.38 kB / 487.1 MB, free: 9.918 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.474, allocations: 0 / 487.1 MB, free: 9.918 MB / 362.7 MB Notification: Performance of Templates: time 0.005263/0.4793, allocations: 2.159 MB / 489.2 MB, free: 7.777 MB / 362.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