Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.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.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_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009901/0.0009902, allocations: 175.9 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 221.5 MB / 230.3 MB, free: 7.523 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009452/0.0009452, allocations: 85.94 kB / 281.2 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.002e-05/2.004e-05, allocations: 4 kB / 337 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1004, allocations: 50.42 MB / 387.5 MB, free: 7.562 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3012/0.4016, allocations: 76.64 MB / 464.1 MB, free: 2.219 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001635/0.4018, allocations: 65.78 kB / 464.2 MB, free: 2.156 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01065/0.4125, allocations: 4.256 MB / 468.4 MB, free: 13.9 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4125, allocations: 0 / 468.4 MB, free: 13.9 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.659e-05/0.4126, allocations: 4 kB / 468.4 MB, free: 13.89 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0006772/0.4132, allocations: 483.2 kB / 468.9 MB, free: 13.38 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.4133, allocations: 12.03 kB / 468.9 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.602e-05/0.4134, allocations: 31.62 kB / 468.9 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002668/0.4137, allocations: 227.4 kB / 469.2 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.4137, allocations: 8 kB / 469.2 MB, free: 13.06 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.777e-05/0.4137, allocations: 20 kB / 469.2 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002836/0.414, allocations: 145 kB / 469.3 MB, free: 12.9 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003433/0.4144, allocations: 198.4 kB / 469.5 MB, free: 12.69 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.4144, allocations: 7.906 kB / 469.5 MB, free: 12.68 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.291e-05/0.4145, allocations: 4 kB / 469.5 MB, free: 12.68 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.283e-05/0.4145, allocations: 8 kB / 469.5 MB, free: 12.67 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.4156, allocations: 0.7432 MB / 470.3 MB, free: 11.88 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004553/0.4161, allocations: 255.6 kB / 470.5 MB, free: 11.6 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002207/0.4163, allocations: 127.3 kB / 470.7 MB, free: 11.47 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.4164, allocations: 0 / 470.7 MB, free: 11.47 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.4164, allocations: 38.56 kB / 470.7 MB, free: 11.42 MB / 346.7 MB Notification: Performance of pre-optimization done (n=33): time 1.363e-06/0.4164, allocations: 7.938 kB / 470.7 MB, free: 11.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=45): time 0.002196/0.4186, allocations: 1.733 MB / 472.4 MB, free: 9.422 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.346e-05/0.4187, allocations: 106.8 kB / 472.5 MB, free: 9.293 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.4188, allocations: 141.8 kB / 472.7 MB, free: 9.148 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.4189, allocations: 25.7 kB / 472.7 MB, free: 9.117 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.764e-05/0.419, allocations: 140.9 kB / 472.8 MB, free: 8.973 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.4191, allocations: 157.6 kB / 473 MB, free: 8.816 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.106e-05/0.4191, allocations: 0 / 473 MB, free: 8.816 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.4192, allocations: 334.8 kB / 473.3 MB, free: 8.48 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.4194, allocations: 84.88 kB / 473.4 MB, free: 8.398 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001631/0.4195, allocations: 137.4 kB / 473.5 MB, free: 8.246 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001639/0.4197, allocations: 103.2 kB / 473.6 MB, free: 8.148 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.4197, allocations: 4 kB / 473.6 MB, free: 8.145 MB / 346.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004273/0.4202, allocations: 295.5 kB / 473.9 MB, free: 7.852 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.4202, allocations: 8 kB / 473.9 MB, free: 7.844 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.4202, allocations: 0 / 473.9 MB, free: 7.844 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.4202, allocations: 7.953 kB / 473.9 MB, free: 7.836 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003363/0.4206, allocations: 95.91 kB / 474 MB, free: 7.742 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/0.4206, allocations: 11.92 kB / 474.1 MB, free: 7.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.476e-05/0.4207, allocations: 0 / 474.1 MB, free: 7.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.339e-05/0.4207, allocations: 16 kB / 474.1 MB, free: 7.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 () * 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.0001024/0.4208, allocations: 113 kB / 474.2 MB, free: 7.598 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.139e-05/0.4209, allocations: 27.72 kB / 474.2 MB, free: 7.57 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.605e-05/0.421, allocations: 29.97 kB / 474.2 MB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.421, allocations: 4 kB / 474.2 MB, free: 7.543 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.421, allocations: 3.953 kB / 474.2 MB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.421, allocations: 3.984 kB / 474.2 MB, free: 7.535 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001206/0.4223, allocations: 0.9729 MB / 475.2 MB, free: 6.488 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.4223, allocations: 0 / 475.2 MB, free: 6.488 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003548/0.4226, allocations: 91.89 kB / 475.3 MB, free: 6.398 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.4227, allocations: 4 kB / 475.3 MB, free: 6.395 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/0.4227, allocations: 4 kB / 475.3 MB, free: 6.391 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.4227, allocations: 7.938 kB / 475.3 MB, free: 6.383 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.4227, allocations: 8.281 kB / 475.3 MB, free: 6.375 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008258/0.4235, allocations: 0.8026 MB / 476.1 MB, free: 5.449 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.826e-05/0.4236, allocations: 104.9 kB / 476.2 MB, free: 5.328 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.747e-05/0.4237, allocations: 8 kB / 476.2 MB, free: 5.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/0.4239, allocations: 0 / 476.2 MB, free: 5.32 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.929e-05/0.4239, allocations: 43.84 kB / 476.3 MB, free: 5.277 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.4239, allocations: 12 kB / 476.3 MB, free: 5.266 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.615e-05/0.424, allocations: 112.4 kB / 476.4 MB, free: 5.156 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.424, allocations: 3.938 kB / 476.4 MB, free: 5.152 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003836/0.4244, allocations: 56 kB / 476.5 MB, free: 5.098 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 () * 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.0001654/0.4246, allocations: 109.9 kB / 476.6 MB, free: 4.98 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003717/0.425, allocations: 241.8 kB / 476.8 MB, free: 4.746 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.425, allocations: 0 / 476.8 MB, free: 4.746 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000163/0.4252, allocations: 123.8 kB / 476.9 MB, free: 4.625 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005069/0.4257, allocations: 43.95 kB / 477 MB, free: 4.582 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.4268, allocations: 0.7637 MB / 477.7 MB, free: 3.766 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.4272, allocations: 0.7799 MB / 478.5 MB, free: 2.957 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001155/0.4273, allocations: 35.27 kB / 478.6 MB, free: 2.926 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.369e-05/0.4274, allocations: 27.44 kB / 478.6 MB, free: 2.902 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4274, allocations: 0 / 478.6 MB, free: 2.902 MB / 346.7 MB Notification: Performance of Templates: time 0.005492/0.4329, allocations: 2.51 MB / 481.1 MB, free: 424 kB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches