Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002197/0.002196, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.351/2.351, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001119/0.001118, allocations: 95.05 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.333e-05/2.336e-05, allocations: 4 kB / 314.8 MB, free: 9.168 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.3439, allocations: 47.56 MB / 362.3 MB, free: 45.86 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1252/0.4692, allocations: 75.3 MB / 437.6 MB, free: 11.01 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/0.4695, allocations: 64.8 kB / 437.7 MB, free: 10.95 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01914/0.4887, allocations: 4.505 MB / 442.2 MB, free: 6.473 MB / 331.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.4887, allocations: 4 kB / 442.2 MB, free: 6.469 MB / 331.1 MB Notification: Performance of Transformations before backend: time 2.213e-05/0.4888, allocations: 8 kB / 442.2 MB, free: 6.461 MB / 331.1 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.0009095/0.4897, allocations: 497.1 kB / 442.7 MB, free: 5.934 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.4897, allocations: 12.03 kB / 442.7 MB, free: 5.922 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.329e-05/0.4898, allocations: 27.72 kB / 442.7 MB, free: 5.895 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000327/0.4902, allocations: 238.7 kB / 443 MB, free: 5.621 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.4902, allocations: 15.95 kB / 443 MB, free: 5.605 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.473e-05/0.4903, allocations: 21.58 kB / 443 MB, free: 5.586 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005061/0.4908, allocations: 157.1 kB / 443.2 MB, free: 5.43 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005128/0.4913, allocations: 209.4 kB / 443.4 MB, free: 5.211 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.709e-05/0.4914, allocations: 4 kB / 443.4 MB, free: 5.207 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.808e-05/0.4914, allocations: 1.203 kB / 443.4 MB, free: 5.207 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.4914, allocations: 8 kB / 443.4 MB, free: 5.199 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001411/0.4929, allocations: 0.6957 MB / 444.1 MB, free: 4.461 MB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005323/0.4934, allocations: 241.1 kB / 444.3 MB, free: 4.207 MB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002524/0.4937, allocations: 113.8 kB / 444.4 MB, free: 4.094 MB / 331.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.332e-05/0.4937, allocations: 7.906 kB / 444.4 MB, free: 4.086 MB / 331.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.4938, allocations: 38.56 kB / 444.5 MB, free: 4.039 MB / 331.1 MB Notification: Performance of pre-optimization done (n=36): time 3.527e-06/0.4938, allocations: 0 / 444.5 MB, free: 4.039 MB / 331.1 MB Notification: Performance of matching and sorting (n=48): time 0.003459/0.4973, allocations: 1.492 MB / 446 MB, free: 2.379 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.502e-05/0.4974, allocations: 85.11 kB / 446 MB, free: 2.277 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002041/0.4976, allocations: 141.9 kB / 446.2 MB, free: 2.129 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 3.538e-05/0.4976, allocations: 28.47 kB / 446.2 MB, free: 2.098 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.4978, allocations: 203.4 kB / 446.4 MB, free: 1.895 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001761/0.498, allocations: 165.5 kB / 446.6 MB, free: 1.73 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.893e-05/0.498, allocations: 0 / 446.6 MB, free: 1.73 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.4982, allocations: 326.8 kB / 446.9 MB, free: 1.402 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002501/0.4984, allocations: 89.12 kB / 447 MB, free: 1.316 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000323/0.4988, allocations: 144.3 kB / 447.1 MB, free: 1.16 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003175/0.4991, allocations: 115.2 kB / 447.2 MB, free: 1.051 MB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.4991, allocations: 0 / 447.2 MB, free: 1.051 MB / 331.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007912/0.4999, allocations: 306.4 kB / 447.5 MB, free: 0.7461 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/0.5, allocations: 8 kB / 447.5 MB, free: 0.7383 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.5, allocations: 0 / 447.5 MB, free: 0.7383 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.022e-05/0.5, allocations: 5.406 kB / 447.5 MB, free: 0.7344 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007577/0.5008, allocations: 104 kB / 447.6 MB, free: 0.6328 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/0.5008, allocations: 7.938 kB / 447.7 MB, free: 0.625 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002312/0.5011, allocations: 3.938 kB / 447.7 MB, free: 0.6211 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.242e-05/0.5011, allocations: 12 kB / 447.7 MB, free: 0.6094 MB / 331.1 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.0001487/0.5013, allocations: 118.3 kB / 447.8 MB, free: 500 kB / 331.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.5014, allocations: 31.67 kB / 447.8 MB, free: 468 kB / 331.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001186/0.5015, allocations: 25.97 kB / 447.8 MB, free: 444 kB / 331.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/0.5016, allocations: 8 kB / 447.8 MB, free: 436 kB / 331.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.5016, allocations: 0 / 447.8 MB, free: 436 kB / 331.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.5016, allocations: 7.984 kB / 447.9 MB, free: 428 kB / 331.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00191/0.5035, allocations: 0.8598 MB / 448.7 MB, free: 15.51 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.5036, allocations: 0 / 448.7 MB, free: 15.51 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000828/0.5044, allocations: 95.89 kB / 448.8 MB, free: 15.41 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-05/0.5044, allocations: 7.984 kB / 448.8 MB, free: 15.41 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.067e-05/0.5045, allocations: 0.9375 kB / 448.8 MB, free: 15.41 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.165e-05/0.5045, allocations: 7.938 kB / 448.8 MB, free: 15.4 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.5045, allocations: 3.953 kB / 448.8 MB, free: 15.39 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/0.5056, allocations: 0.6267 MB / 449.5 MB, free: 14.73 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.5058, allocations: 100.7 kB / 449.6 MB, free: 14.61 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.337e-05/0.5058, allocations: 4 kB / 449.6 MB, free: 14.61 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000277/0.5061, allocations: 7.984 kB / 449.6 MB, free: 14.6 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.137e-05/0.5062, allocations: 23.97 kB / 449.6 MB, free: 14.57 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.911e-05/0.5062, allocations: 16.88 kB / 449.6 MB, free: 14.56 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.00012/0.5064, allocations: 120.2 kB / 449.7 MB, free: 14.44 MB / 347.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5064, allocations: 1.594 kB / 449.7 MB, free: 14.44 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.0005366/0.5069, allocations: 64 kB / 449.8 MB, free: 14.38 MB / 347.1 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.0001735/0.5071, allocations: 103.6 kB / 449.9 MB, free: 14.27 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.0006434/0.5078, allocations: 262.8 kB / 450.1 MB, free: 14.01 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.5078, allocations: 0 / 450.1 MB, free: 14.01 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003011/0.5081, allocations: 143.8 kB / 450.3 MB, free: 13.87 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006325/0.5087, allocations: 46.55 kB / 450.3 MB, free: 13.82 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002001/0.5108, allocations: 0.8977 MB / 451.2 MB, free: 12.9 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004225/0.5112, allocations: 0.7842 MB / 452 MB, free: 12.09 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/0.5114, allocations: 27.44 kB / 452 MB, free: 12.06 MB / 347.1 MB Notification: Performance of SimCode: time 1.152e-06/0.5114, allocations: 2.344 kB / 452 MB, free: 12.06 MB / 347.1 MB Notification: Performance of Templates: time 0.008756/0.5201, allocations: 3.471 MB / 455.5 MB, free: 8.621 MB / 347.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches