Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.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.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|m1.s|m1.v|m3.s|m3.v|sd1.s_rel|sd1.v_rel|sd2.s_rel|sd2.v_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions") translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|m1.s|m1.v|m3.s|m3.v|sd1.s_rel|sd1.v_rel|sd2.s_rel|sd2.v_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009774/0.0009775, allocations: 181.9 kB / 16.39 MB, free: 5.762 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.328/1.328, allocations: 223.2 MB / 240.3 MB, free: 10.14 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.0008411/0.0008413, allocations: 97.52 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002721/0.0002719, allocations: 15.94 kB / 351.1 MB, free: 15.12 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2236, allocations: 50.41 MB / 401.5 MB, free: 32.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09883/0.3225, allocations: 77.25 MB / 478.7 MB, free: 3.223 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002061/0.3227, allocations: 63.97 kB / 478.8 MB, free: 3.16 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01229/0.335, allocations: 4.698 MB / 483.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3351, allocations: 192 / 483.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.929e-05/0.3351, allocations: 8 kB / 483.5 MB, free: 14.44 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0006922/0.3358, allocations: 0.5106 MB / 484 MB, free: 13.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.3359, allocations: 12.03 kB / 484 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.511e-05/0.3359, allocations: 35.61 kB / 484.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002663/0.3362, allocations: 234.6 kB / 484.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.3362, allocations: 20.56 kB / 484.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.669e-05/0.3363, allocations: 24 kB / 484.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003924/0.3367, allocations: 250.6 kB / 484.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.3367, allocations: 3.906 kB / 484.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.061e-05/0.3368, allocations: 19.95 kB / 484.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.3368, allocations: 4 kB / 484.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002905/0.3371, allocations: 179.8 kB / 484.8 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.3381, allocations: 0.7537 MB / 485.5 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004032/0.3385, allocations: 276.4 kB / 485.8 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.3385, allocations: 8 kB / 485.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.3386, allocations: 38.73 kB / 485.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=36): time 1.472e-06/0.3386, allocations: 0 / 485.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.002642/0.3412, allocations: 1.705 MB / 487.6 MB, free: 10.04 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.3413, allocations: 85.11 kB / 487.6 MB, free: 9.938 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.3414, allocations: 161.6 kB / 487.8 MB, free: 9.773 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.3415, allocations: 45.62 kB / 487.8 MB, free: 9.723 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.94e-05/0.3416, allocations: 140.6 kB / 488 MB, free: 9.582 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.3417, allocations: 165.5 kB / 488.1 MB, free: 9.418 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.688e-05/0.3417, allocations: 12 kB / 488.2 MB, free: 9.406 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.3419, allocations: 338.8 kB / 488.5 MB, free: 9.066 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.342, allocations: 101.1 kB / 488.6 MB, free: 8.969 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001977/0.3422, allocations: 161.4 kB / 488.7 MB, free: 8.797 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002354/0.3425, allocations: 124 kB / 488.9 MB, free: 8.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.3425, allocations: 4 kB / 488.9 MB, free: 8.676 MB / 362.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004703/0.3429, allocations: 354.3 kB / 489.2 MB, free: 8.324 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.343, allocations: 8 kB / 489.2 MB, free: 8.316 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.343, allocations: 0 / 489.2 MB, free: 8.316 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.343, allocations: 4 kB / 489.2 MB, free: 8.312 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003956/0.3434, allocations: 107.8 kB / 489.3 MB, free: 8.207 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.3434, allocations: 8.062 kB / 489.3 MB, free: 8.199 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.3435, allocations: 12 kB / 489.4 MB, free: 8.188 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.3436, allocations: 12 kB / 489.4 MB, free: 8.176 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (58): * Single equations (assignments): 58 * 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.0001455/0.3437, allocations: 153.8 kB / 489.5 MB, free: 8.016 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.611e-05/0.3438, allocations: 23.72 kB / 489.5 MB, free: 7.992 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.268e-05/0.3439, allocations: 33.88 kB / 489.6 MB, free: 7.949 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.3439, allocations: 8 kB / 489.6 MB, free: 7.941 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.3439, allocations: 3.953 kB / 489.6 MB, free: 7.938 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.3439, allocations: 7.984 kB / 489.6 MB, free: 7.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/0.3451, allocations: 0.9628 MB / 490.6 MB, free: 6.906 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.3452, allocations: 0 / 490.6 MB, free: 6.906 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004102/0.3456, allocations: 87.91 kB / 490.6 MB, free: 6.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.107e-06/0.3456, allocations: 8 kB / 490.6 MB, free: 6.812 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.548e-05/0.3456, allocations: 19.92 kB / 490.7 MB, free: 6.793 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.3456, allocations: 0 / 490.7 MB, free: 6.793 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.3456, allocations: 4 kB / 490.7 MB, free: 6.789 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007068/0.3463, allocations: 0.6719 MB / 491.3 MB, free: 6.074 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.414e-05/0.3464, allocations: 96.83 kB / 491.4 MB, free: 5.961 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.236e-05/0.3465, allocations: 11.95 kB / 491.4 MB, free: 5.949 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.3466, allocations: 8 kB / 491.5 MB, free: 5.941 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.104e-05/0.3467, allocations: 31.95 kB / 491.5 MB, free: 5.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/0.3467, allocations: 16 kB / 491.5 MB, free: 5.895 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000104/0.3468, allocations: 137.5 kB / 491.6 MB, free: 5.762 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3468, allocations: 0 / 491.6 MB, free: 5.762 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003608/0.3472, allocations: 80 kB / 491.7 MB, free: 5.684 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (sd2.s_rel,sd2.v_rel,m4.s,m4.v,m1.s,m1.v,sd1.s_rel,sd1.v_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 (48): * Single equations (assignments): 48 * 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.0001256/0.3473, allocations: 111.2 kB / 491.8 MB, free: 5.566 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004455/0.3478, allocations: 299.5 kB / 492.1 MB, free: 5.273 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3478, allocations: 0 / 492.1 MB, free: 5.273 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001972/0.348, allocations: 162.8 kB / 492.3 MB, free: 5.117 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000448/0.3485, allocations: 53.58 kB / 492.3 MB, free: 5.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.35, allocations: 1.222 MB / 493.5 MB, free: 3.812 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.3503, allocations: 0.7806 MB / 494.3 MB, free: 3.004 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000181/0.3505, allocations: 38.94 kB / 494.4 MB, free: 2.965 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.888e-05/0.3506, allocations: 27.44 kB / 494.4 MB, free: 2.941 MB / 362.7 MB Notification: Performance of SimCode: time 3e-07/0.3506, allocations: 3.938 kB / 494.4 MB, free: 2.938 MB / 362.7 MB Notification: Performance of Templates: time 0.005681/0.3563, allocations: 2.747 MB / 497.1 MB, free: 216 kB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches