Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001373/0.001372, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009896/0.0009896, allocations: 87.88 kB / 292.1 MB, free: 5.996 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.667e-05/3.669e-05, allocations: 4 kB / 350.5 MB, free: 2.562 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1674, allocations: 51.5 MB / 402 MB, free: 15.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4291/0.5966, allocations: 77.98 MB / 480 MB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/0.5969, allocations: 66.67 kB / 480.1 MB, free: 11.42 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01101/0.6079, allocations: 4.699 MB / 484.8 MB, free: 7.531 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.608, allocations: 0 / 484.8 MB, free: 7.531 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.586e-05/0.608, allocations: 4 kB / 484.8 MB, free: 7.527 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0005749/0.6086, allocations: 0.49 MB / 485.3 MB, free: 7.016 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.6087, allocations: 12.03 kB / 485.3 MB, free: 7.004 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.61e-05/0.6087, allocations: 27.72 kB / 485.3 MB, free: 6.977 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.6089, allocations: 232.9 kB / 485.5 MB, free: 6.723 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.609, allocations: 19.44 kB / 485.5 MB, free: 6.715 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.177e-05/0.609, allocations: 31.11 kB / 485.6 MB, free: 6.695 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004207/0.6095, allocations: 251.1 kB / 485.8 MB, free: 6.508 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.6095, allocations: 0 / 485.8 MB, free: 6.508 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.57e-05/0.6095, allocations: 11.31 kB / 485.8 MB, free: 6.504 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.6095, allocations: 4 kB / 485.8 MB, free: 6.5 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002641/0.6098, allocations: 165.7 kB / 486 MB, free: 6.387 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009393/0.6107, allocations: 0.7687 MB / 486.8 MB, free: 5.699 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003464/0.6111, allocations: 263.9 kB / 487 MB, free: 5.496 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.6113, allocations: 120.4 kB / 487.1 MB, free: 5.41 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.6113, allocations: 4 kB / 487.1 MB, free: 5.406 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.6113, allocations: 42.12 kB / 487.2 MB, free: 5.359 MB / 346.7 MB Notification: Performance of pre-optimization done (n=36): time 1.523e-06/0.6114, allocations: 0 / 487.2 MB, free: 5.359 MB / 346.7 MB Notification: Performance of matching and sorting (n=48): time 0.002232/0.6136, allocations: 1.616 MB / 488.8 MB, free: 3.824 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.6136, allocations: 85.11 kB / 488.9 MB, free: 3.723 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.6138, allocations: 166 kB / 489 MB, free: 3.574 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.6138, allocations: 40.58 kB / 489.1 MB, free: 3.535 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.051e-05/0.6139, allocations: 134.7 kB / 489.2 MB, free: 3.418 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.491e-05/0.614, allocations: 174.5 kB / 489.4 MB, free: 3.27 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.483e-05/0.614, allocations: 11 kB / 489.4 MB, free: 3.266 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.747e-05/0.6141, allocations: 333.6 kB / 489.7 MB, free: 2.941 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.6142, allocations: 97.28 kB / 489.8 MB, free: 2.883 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/0.6144, allocations: 152.5 kB / 490 MB, free: 2.762 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.6146, allocations: 130.3 kB / 490.1 MB, free: 2.68 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.6146, allocations: 0 / 490.1 MB, free: 2.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004102/0.615, allocations: 361.5 kB / 490.5 MB, free: 2.406 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.615, allocations: 4 kB / 490.5 MB, free: 2.402 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.615, allocations: 0 / 490.5 MB, free: 2.402 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.6151, allocations: 5.219 kB / 490.5 MB, free: 2.398 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003519/0.6154, allocations: 99.08 kB / 490.6 MB, free: 2.305 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.6154, allocations: 4.062 kB / 490.6 MB, free: 2.301 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.6156, allocations: 15.12 kB / 490.6 MB, free: 2.293 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.6156, allocations: 11.44 kB / 490.6 MB, free: 2.285 MB / 346.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 () * 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 8.533e-05/0.6157, allocations: 134.8 kB / 490.7 MB, free: 2.16 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.106e-05/0.6157, allocations: 27.67 kB / 490.7 MB, free: 2.133 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.487e-05/0.6158, allocations: 38.09 kB / 490.8 MB, free: 2.105 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.6159, allocations: 8 kB / 490.8 MB, free: 2.098 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.6159, allocations: 0 / 490.8 MB, free: 2.098 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.6159, allocations: 3.984 kB / 490.8 MB, free: 2.094 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009942/0.6169, allocations: 0.9516 MB / 491.7 MB, free: 1.082 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.6169, allocations: 4 kB / 491.7 MB, free: 1.078 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003716/0.6173, allocations: 98.23 kB / 491.8 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.6173, allocations: 0 / 491.8 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.184e-05/0.6173, allocations: 11.95 kB / 491.9 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.146e-05/0.6174, allocations: 4 kB / 491.9 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.6174, allocations: 7.922 kB / 491.9 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006229/0.618, allocations: 0.6625 MB / 492.5 MB, free: 264 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.603e-05/0.6181, allocations: 100.7 kB / 492.6 MB, free: 144 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.615e-05/0.6181, allocations: 11.98 kB / 492.6 MB, free: 132 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.6183, allocations: 12.88 kB / 492.7 MB, free: 120 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.427e-05/0.6183, allocations: 27.97 kB / 492.7 MB, free: 92 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.6183, allocations: 19.94 kB / 492.7 MB, free: 72 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001215/0.6185, allocations: 132.4 kB / 492.8 MB, free: 15.94 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6185, allocations: 0 / 492.8 MB, free: 15.94 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000348/0.6188, allocations: 76 kB / 492.9 MB, free: 15.87 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 () * 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.0001975/0.619, allocations: 115.1 kB / 493 MB, free: 15.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005188/0.6196, allocations: 282.6 kB / 493.3 MB, free: 15.47 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.6196, allocations: 4.125 kB / 493.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002156/0.6198, allocations: 151.8 kB / 493.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004719/0.6203, allocations: 51.95 kB / 493.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.6219, allocations: 0.8882 MB / 494.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005086/0.6224, allocations: 0.7861 MB / 495.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001638/0.6226, allocations: 38.95 kB / 495.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.368e-05/0.6226, allocations: 27.44 kB / 495.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of SimCode: time 8.92e-07/0.6226, allocations: 0 / 495.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of Templates: time 0.007137/0.6298, allocations: 2.759 MB / 498 MB, free: 10.8 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches