Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001421/0.001421, allocations: 180.7 kB / 17.02 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.439/1.439, allocations: 205.4 MB / 223.1 MB, free: 9.035 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007502/0.0007502, allocations: 94.91 kB / 271.5 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002457/0.0002457, allocations: 8 kB / 328.2 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2408, allocations: 47.57 MB / 375.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09152/0.3323, allocations: 77.58 MB / 453.4 MB, free: 3.086 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001906/0.3326, allocations: 71.95 kB / 453.5 MB, free: 3.016 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01029/0.3429, allocations: 3.804 MB / 457.3 MB, free: 15.2 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3429, allocations: 0 / 457.3 MB, free: 15.2 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.403e-05/0.343, allocations: 4 kB / 457.3 MB, free: 15.2 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.0006614/0.3436, allocations: 482.9 kB / 457.7 MB, free: 14.68 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.3437, allocations: 8.031 kB / 457.7 MB, free: 14.67 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.073e-05/0.3438, allocations: 27.72 kB / 457.8 MB, free: 14.64 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003109/0.3441, allocations: 227.4 kB / 458 MB, free: 14.38 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.556e-05/0.3441, allocations: 12.44 kB / 458 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.26e-05/0.3442, allocations: 31.84 kB / 458 MB, free: 14.33 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003809/0.3446, allocations: 205.8 kB / 458.2 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/0.3446, allocations: 7.984 kB / 458.2 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.337e-05/0.3446, allocations: 8 kB / 458.3 MB, free: 14.1 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.3447, allocations: 4 kB / 458.3 MB, free: 14.1 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002654/0.3449, allocations: 129.7 kB / 458.4 MB, free: 13.97 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.346, allocations: 0.7132 MB / 459.1 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002582/0.3463, allocations: 150.5 kB / 459.2 MB, free: 13.05 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.3463, allocations: 224 / 459.2 MB, free: 13.05 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.3464, allocations: 38.56 kB / 459.3 MB, free: 13 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 1.112e-06/0.3464, allocations: 3.938 kB / 459.3 MB, free: 13 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.001518/0.3479, allocations: 0.8948 MB / 460.2 MB, free: 12.02 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.3479, allocations: 55.41 kB / 460.2 MB, free: 11.95 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.3481, allocations: 154.9 kB / 460.4 MB, free: 11.79 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.3481, allocations: 33.64 kB / 460.4 MB, free: 11.75 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.826e-05/0.3482, allocations: 140.2 kB / 460.6 MB, free: 11.61 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.489e-05/0.3483, allocations: 86.75 kB / 460.6 MB, free: 11.53 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.358e-06/0.3483, allocations: 8 kB / 460.7 MB, free: 11.52 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.3484, allocations: 330.8 kB / 461 MB, free: 11.19 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.3486, allocations: 59.97 kB / 461 MB, free: 11.13 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001537/0.3487, allocations: 101.7 kB / 461.1 MB, free: 11.02 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.3489, allocations: 73.47 kB / 461.2 MB, free: 10.95 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.3489, allocations: 0 / 461.2 MB, free: 10.95 MB / 346.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004678/0.3494, allocations: 254.1 kB / 461.5 MB, free: 10.69 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.3494, allocations: 8 kB / 461.5 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.3494, allocations: 4 kB / 461.5 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000179/0.3496, allocations: 36.83 kB / 461.5 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/0.3498, allocations: 47.92 kB / 461.5 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001297/0.3511, allocations: 1.39 MB / 462.9 MB, free: 9.066 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001349/0.3513, allocations: 16.02 kB / 463 MB, free: 9.051 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.3513, allocations: 8 kB / 463 MB, free: 9.043 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 () * Number of clocked 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.0001492/0.3515, allocations: 137.8 kB / 463.1 MB, free: 8.898 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.171e-05/0.3515, allocations: 15.81 kB / 463.1 MB, free: 8.883 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.419e-05/0.3516, allocations: 29.86 kB / 463.1 MB, free: 8.848 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.3516, allocations: 4 kB / 463.1 MB, free: 8.844 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.3516, allocations: 0 / 463.1 MB, free: 8.844 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3516, allocations: 3.953 kB / 463.1 MB, free: 8.84 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009338/0.3525, allocations: 0.6642 MB / 463.8 MB, free: 8.105 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3526, allocations: 0 / 463.8 MB, free: 8.105 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002257/0.3528, allocations: 43.97 kB / 463.9 MB, free: 8.062 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001151/0.3529, allocations: 32.84 kB / 463.9 MB, free: 8.027 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.3529, allocations: 12.05 kB / 463.9 MB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001146/0.3541, allocations: 1.398 MB / 465.3 MB, free: 6.488 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3541, allocations: 3.938 kB / 465.3 MB, free: 6.484 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006052/0.3547, allocations: 433.7 kB / 465.7 MB, free: 6.023 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.779e-05/0.3548, allocations: 92.83 kB / 465.8 MB, free: 5.914 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.408e-05/0.3548, allocations: 8 kB / 465.8 MB, free: 5.906 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.355, allocations: 12.03 kB / 465.8 MB, free: 5.895 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.028e-05/0.355, allocations: 19.86 kB / 465.9 MB, free: 5.875 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.355, allocations: 8 kB / 465.9 MB, free: 5.867 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.715e-05/0.3551, allocations: 136.8 kB / 466 MB, free: 5.734 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3552, allocations: 0 / 466 MB, free: 5.734 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003473/0.3555, allocations: 56 kB / 466 MB, free: 5.68 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 () * Number of clocked 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.0001318/0.3556, allocations: 99.25 kB / 466.1 MB, free: 5.574 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005504/0.3562, allocations: 311 kB / 466.4 MB, free: 5.258 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3562, allocations: 0 / 466.4 MB, free: 5.258 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003014/0.3565, allocations: 206.6 kB / 466.7 MB, free: 5.043 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.3569, allocations: 43.91 kB / 466.7 MB, free: 5 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.3581, allocations: 0.8136 MB / 467.5 MB, free: 4.152 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.3584, allocations: 0.7524 MB / 468.3 MB, free: 3.375 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.949e-05/0.3585, allocations: 21.94 kB / 468.3 MB, free: 3.355 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.577e-05/0.3586, allocations: 19.44 kB / 468.3 MB, free: 3.336 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3586, allocations: 0 / 468.3 MB, free: 3.336 MB / 346.7 MB Notification: Performance of Templates: time 0.005033/0.3636, allocations: 2.15 MB / 470.5 MB, free: 1.207 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/FirstGrounded/FirstGrounded.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches