Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.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.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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001462/0.001462, allocations: 179.1 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.927/1.927, allocations: 205.3 MB / 214.4 MB, free: 1.66 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009702/0.0009703, allocations: 86.72 kB / 262.4 MB, free: 1.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.431e-05/1.434e-05, allocations: 4 kB / 315.5 MB, free: 22.7 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1188, allocations: 47.57 MB / 363.1 MB, free: 7.066 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4173/0.5362, allocations: 75.55 MB / 438.6 MB, free: 4.059 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002138/0.5365, allocations: 69.33 kB / 438.7 MB, free: 4.02 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01195/0.5484, allocations: 4.505 MB / 443.2 MB, free: 336 kB / 314.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5485, allocations: 4 kB / 443.2 MB, free: 332 kB / 314.7 MB Notification: Performance of Transformations before backend: time 1.796e-05/0.5485, allocations: 8 kB / 443.2 MB, free: 324 kB / 314.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.0007039/0.5492, allocations: 497 kB / 443.7 MB, free: 15.8 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.5493, allocations: 12.03 kB / 443.7 MB, free: 15.79 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.368e-05/0.5493, allocations: 27.72 kB / 443.7 MB, free: 15.77 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00028/0.5496, allocations: 236.7 kB / 444 MB, free: 15.51 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.5497, allocations: 15.95 kB / 444 MB, free: 15.49 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.142e-05/0.5497, allocations: 16.31 kB / 444 MB, free: 15.48 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00031/0.55, allocations: 157.6 kB / 444.1 MB, free: 15.37 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003463/0.5504, allocations: 204.9 kB / 444.3 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.5504, allocations: 7.25 kB / 444.3 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.033e-05/0.5504, allocations: 0 / 444.3 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.5504, allocations: 8 kB / 444.4 MB, free: 15.19 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/0.5515, allocations: 0.6964 MB / 445.1 MB, free: 14.57 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000355/0.5518, allocations: 250.4 kB / 445.3 MB, free: 14.38 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/0.552, allocations: 104.9 kB / 445.4 MB, free: 14.3 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.552, allocations: 7.906 kB / 445.4 MB, free: 14.3 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.5521, allocations: 41.88 kB / 445.4 MB, free: 14.25 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 1.543e-06/0.5521, allocations: 0 / 445.4 MB, free: 14.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=48): time 0.002131/0.5542, allocations: 1.489 MB / 446.9 MB, free: 12.78 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.5543, allocations: 89.11 kB / 447 MB, free: 12.68 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.5544, allocations: 135.5 kB / 447.2 MB, free: 12.55 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.5544, allocations: 25.7 kB / 447.2 MB, free: 12.52 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.144e-05/0.5545, allocations: 145.9 kB / 447.3 MB, free: 12.39 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/0.5547, allocations: 162.3 kB / 447.5 MB, free: 12.25 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.303e-05/0.5547, allocations: 0 / 447.5 MB, free: 12.25 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.5549, allocations: 337.2 kB / 447.8 MB, free: 11.92 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/0.555, allocations: 91 kB / 447.9 MB, free: 11.87 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.5552, allocations: 139.6 kB / 448 MB, free: 11.76 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.5554, allocations: 118.5 kB / 448.2 MB, free: 11.69 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.5554, allocations: 0 / 448.2 MB, free: 11.69 MB / 330.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000428/0.5558, allocations: 319.5 kB / 448.5 MB, free: 11.44 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.5558, allocations: 4 kB / 448.5 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.5558, allocations: 0 / 448.5 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.5559, allocations: 7.984 kB / 448.5 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003862/0.5563, allocations: 111.2 kB / 448.6 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.5563, allocations: 4 kB / 448.6 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.5564, allocations: 0 / 448.6 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.679e-05/0.5564, allocations: 18.69 kB / 448.6 MB, free: 11.3 MB / 330.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 0.0001089/0.5565, allocations: 114.2 kB / 448.7 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.785e-05/0.5566, allocations: 31.67 kB / 448.7 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.233e-05/0.5567, allocations: 29.59 kB / 448.8 MB, free: 11.15 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.5567, allocations: 4 kB / 448.8 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.5567, allocations: 3.984 kB / 448.8 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.5567, allocations: 4 kB / 448.8 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/0.5579, allocations: 0.8593 MB / 449.6 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.5579, allocations: 0 / 449.6 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004091/0.5583, allocations: 90.78 kB / 449.7 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.094e-06/0.5584, allocations: 4 kB / 449.7 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.346e-05/0.5584, allocations: 11.61 kB / 449.8 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.5584, allocations: 0 / 449.8 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.5584, allocations: 7.953 kB / 449.8 MB, free: 10.28 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007252/0.5591, allocations: 0.6264 MB / 450.4 MB, free: 9.727 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.32e-05/0.5592, allocations: 100.8 kB / 450.5 MB, free: 9.609 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.536e-05/0.5593, allocations: 0 / 450.5 MB, free: 9.609 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.5594, allocations: 7.938 kB / 450.5 MB, free: 9.602 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.985e-05/0.5595, allocations: 27.91 kB / 450.5 MB, free: 9.578 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-05/0.5595, allocations: 11.56 kB / 450.5 MB, free: 9.57 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.583e-05/0.5596, allocations: 120.2 kB / 450.6 MB, free: 9.465 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5596, allocations: 0 / 450.6 MB, free: 9.465 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003412/0.5599, allocations: 64 kB / 450.7 MB, free: 9.402 MB / 330.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.0001657/0.5601, allocations: 103.6 kB / 450.8 MB, free: 9.289 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004005/0.5605, allocations: 270 kB / 451.1 MB, free: 9.098 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.5605, allocations: 0 / 451.1 MB, free: 9.098 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001711/0.5607, allocations: 137.1 kB / 451.2 MB, free: 9 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00045/0.5612, allocations: 45.66 kB / 451.3 MB, free: 8.965 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.5625, allocations: 0.874 MB / 452.1 MB, free: 8.113 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004128/0.5629, allocations: 0.7842 MB / 452.9 MB, free: 7.301 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000134/0.5631, allocations: 31.28 kB / 452.9 MB, free: 7.27 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.499e-05/0.5631, allocations: 31.38 kB / 453 MB, free: 7.238 MB / 330.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5632, allocations: 0 / 453 MB, free: 7.238 MB / 330.7 MB Notification: Performance of Templates: time 0.005827/0.569, allocations: 2.622 MB / 455.6 MB, free: 4.629 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches