Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper.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.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper") translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001478/0.001477, allocations: 186.8 kB / 16.4 MB, free: 5.746 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.991/1.991, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.00114/0.001139, allocations: 94.05 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003935/0.0003936, allocations: 8 kB / 327 MB, free: 212 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3266, allocations: 47.56 MB / 374.5 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1222/0.4489, allocations: 76.17 MB / 450.7 MB, free: 4.605 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/0.4492, allocations: 71.95 kB / 450.8 MB, free: 4.535 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0181/0.4674, allocations: 4.156 MB / 454.9 MB, free: 376 kB / 330.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4674, allocations: 0 / 454.9 MB, free: 376 kB / 330.7 MB Notification: Performance of Transformations before backend: time 2.132e-05/0.4675, allocations: 8 kB / 454.9 MB, free: 368 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0009195/0.4684, allocations: 0.4913 MB / 455.4 MB, free: 15.82 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.4684, allocations: 8.031 kB / 455.4 MB, free: 15.81 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.535e-05/0.4685, allocations: 27.72 kB / 455.5 MB, free: 15.79 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003187/0.4689, allocations: 231.3 kB / 455.7 MB, free: 15.52 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/0.4689, allocations: 20.56 kB / 455.7 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.019e-05/0.469, allocations: 27.91 kB / 455.7 MB, free: 15.47 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005776/0.4696, allocations: 239.5 kB / 456 MB, free: 15.22 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/0.4696, allocations: 0 / 456 MB, free: 15.22 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.902e-05/0.4697, allocations: 12 kB / 456 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.4697, allocations: 8 kB / 456 MB, free: 15.2 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004373/0.4701, allocations: 153.4 kB / 456.1 MB, free: 15.05 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001563/0.4717, allocations: 0.8089 MB / 456.9 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000765/0.4725, allocations: 301.1 kB / 457.2 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.039e-05/0.4726, allocations: 4 kB / 457.2 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/0.4726, allocations: 42.52 kB / 457.3 MB, free: 13.81 MB / 346.7 MB Notification: Performance of pre-optimization done (n=33): time 3.277e-06/0.4726, allocations: 4 kB / 457.3 MB, free: 13.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=45): time 0.004062/0.4767, allocations: 1.943 MB / 459.2 MB, free: 11.6 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.362e-05/0.4768, allocations: 114.7 kB / 459.3 MB, free: 11.46 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002409/0.4771, allocations: 170.1 kB / 459.5 MB, free: 11.29 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.555e-05/0.4771, allocations: 29.7 kB / 459.5 MB, free: 11.25 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.4773, allocations: 203.2 kB / 459.7 MB, free: 11.05 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001724/0.4775, allocations: 165.6 kB / 459.9 MB, free: 10.89 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.738e-05/0.4775, allocations: 8 kB / 459.9 MB, free: 10.88 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.4776, allocations: 330.8 kB / 460.2 MB, free: 10.55 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002543/0.4779, allocations: 84.84 kB / 460.3 MB, free: 10.47 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003116/0.4782, allocations: 154.3 kB / 460.5 MB, free: 10.3 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003176/0.4786, allocations: 125.4 kB / 460.6 MB, free: 10.18 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.4786, allocations: 0 / 460.6 MB, free: 10.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008164/0.4794, allocations: 325.1 kB / 460.9 MB, free: 9.855 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/0.4795, allocations: 8.875 kB / 460.9 MB, free: 9.848 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.4795, allocations: 7.938 kB / 460.9 MB, free: 9.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/0.4795, allocations: 7.984 kB / 460.9 MB, free: 9.832 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006579/0.4802, allocations: 84 kB / 461 MB, free: 9.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.4802, allocations: 8 kB / 461 MB, free: 9.742 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002199/0.4804, allocations: 12 kB / 461 MB, free: 9.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.632e-05/0.4805, allocations: 16 kB / 461 MB, free: 9.715 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (54): * Single equations (assignments): 54 * 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.0002207/0.4807, allocations: 153.7 kB / 461.2 MB, free: 9.555 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.4808, allocations: 35.61 kB / 461.2 MB, free: 9.52 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.481, allocations: 33.88 kB / 461.3 MB, free: 9.484 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.481, allocations: 7.938 kB / 461.3 MB, free: 9.477 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/0.481, allocations: 4 kB / 461.3 MB, free: 9.473 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.829e-06/0.481, allocations: 11.98 kB / 461.3 MB, free: 9.461 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002052/0.4831, allocations: 1.043 MB / 462.3 MB, free: 8.332 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.4831, allocations: 4 kB / 462.3 MB, free: 8.328 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00077/0.4839, allocations: 95.78 kB / 462.4 MB, free: 8.234 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.632e-05/0.4839, allocations: 4.281 kB / 462.4 MB, free: 8.23 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.66e-05/0.484, allocations: 12 kB / 462.4 MB, free: 8.219 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.211e-05/0.484, allocations: 7.984 kB / 462.4 MB, free: 8.211 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.484, allocations: 4 kB / 462.4 MB, free: 8.207 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/0.4853, allocations: 0.8414 MB / 463.3 MB, free: 7.246 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.4855, allocations: 108.8 kB / 463.4 MB, free: 7.121 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.999e-05/0.4856, allocations: 8 kB / 463.4 MB, free: 7.113 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003242/0.4859, allocations: 12 kB / 463.4 MB, free: 7.102 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.299e-05/0.486, allocations: 39.89 kB / 463.5 MB, free: 7.062 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.167e-05/0.486, allocations: 12 kB / 463.5 MB, free: 7.051 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001677/0.4862, allocations: 132.5 kB / 463.6 MB, free: 6.922 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.4862, allocations: 0 / 463.6 MB, free: 6.922 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000617/0.4869, allocations: 80 kB / 463.7 MB, free: 6.844 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper1.s_rel,damper1.v_rel,damper2.s_rel,damper2.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 (45): * Single equations (assignments): 45 * 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.0001838/0.487, allocations: 119 kB / 463.8 MB, free: 6.715 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007594/0.4878, allocations: 258.5 kB / 464 MB, free: 6.465 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.4879, allocations: 0 / 464 MB, free: 6.465 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003492/0.4882, allocations: 143.8 kB / 464.2 MB, free: 6.324 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008165/0.489, allocations: 75.17 kB / 464.3 MB, free: 6.254 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002271/0.4913, allocations: 1.109 MB / 465.4 MB, free: 5.082 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004075/0.4918, allocations: 0.7764 MB / 466.1 MB, free: 4.281 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001459/0.4919, allocations: 31.44 kB / 466.2 MB, free: 4.254 MB / 346.7 MB Notification: Performance of SimCode: time 1.162e-06/0.4919, allocations: 0 / 466.2 MB, free: 4.254 MB / 346.7 MB Notification: Performance of Templates: time 0.008325/0.5003, allocations: 3.321 MB / 469.5 MB, free: 0.9414 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches