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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 97.33 kB / 16.5 MB, free: 6.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 194.3 kB / 17.42 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 222.9 MB / 241.1 MB, free: 15.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 43.86 kB / 299.9 MB, free: 6.309 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08109/0.08222, allocations: 49.45 MB / 349.4 MB, free: 4.852 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003311/0.08557, allocations: 2.463 MB / 351.9 MB, free: 2.371 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004887/0.08608, allocations: 239.1 kB / 352.1 MB, free: 2.137 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.08623, allocations: 4 kB / 352.1 MB, free: 2.133 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001499/0.08641, allocations: 35.7 kB / 352.1 MB, free: 2.098 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000157/0.08657, allocations: 67.45 kB / 352.2 MB, free: 2.031 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001588/0.08674, allocations: 51.89 kB / 352.2 MB, free: 1.98 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002668/0.08702, allocations: 286.7 kB / 352.5 MB, free: 1.699 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000174/0.0872, allocations: 82.23 kB / 352.6 MB, free: 1.617 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.08731, allocations: 95.59 kB / 352.7 MB, free: 1.523 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000135/0.08745, allocations: 115.5 kB / 352.8 MB, free: 1.41 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.043e-05/0.08749, allocations: 12 kB / 352.8 MB, free: 1.398 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.178e-05/0.08754, allocations: 16 kB / 352.8 MB, free: 1.383 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.293e-05/0.08759, allocations: 55.75 kB / 352.9 MB, free: 1.328 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.08771, allocations: 119.4 kB / 353 MB, free: 1.211 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002365/0.08795, allocations: 283.1 kB / 353.3 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.08796, allocations: 0 / 353.3 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.41e-07/0.08797, allocations: 0 / 353.3 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.08798, allocations: 0 / 353.3 MB, free: 0.9336 MB / 286.1 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.0007112/0.08869, allocations: 0.5381 MB / 353.8 MB, free: 352 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.08874, allocations: 8.031 kB / 353.8 MB, free: 344 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.797e-05/0.0888, allocations: 32.56 kB / 353.9 MB, free: 312 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/0.08903, allocations: 244.5 kB / 354.1 MB, free: 24 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.08906, allocations: 20.94 kB / 354.1 MB, free: 4 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.784e-05/0.08912, allocations: 24.42 kB / 354.1 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003588/0.08948, allocations: 236 kB / 354.4 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.08951, allocations: 8.094 kB / 354.4 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.515e-05/0.08954, allocations: 15.94 kB / 354.4 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.08955, allocations: 4 kB / 354.4 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002678/0.08983, allocations: 175.8 kB / 354.6 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00095/0.09078, allocations: 0.7968 MB / 355.4 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004598/0.09125, allocations: 295.7 kB / 355.7 MB, free: 14.37 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002199/0.09149, allocations: 130.5 kB / 355.8 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.09151, allocations: 4 kB / 355.8 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.09155, allocations: 38.55 kB / 355.8 MB, free: 14.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 1.693e-06/0.09155, allocations: 4 kB / 355.8 MB, free: 14.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=45): time 0.002452/0.09401, allocations: 1.951 MB / 357.8 MB, free: 11.96 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/0.09408, allocations: 114.7 kB / 357.9 MB, free: 11.83 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.09424, allocations: 187.2 kB / 358.1 MB, free: 11.63 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.09427, allocations: 33.7 kB / 358.1 MB, free: 11.59 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.618e-05/0.09435, allocations: 136.8 kB / 358.2 MB, free: 11.45 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.09447, allocations: 165.6 kB / 358.4 MB, free: 11.29 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.172e-05/0.09457, allocations: 74.14 kB / 358.5 MB, free: 11.2 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.09468, allocations: 339.8 kB / 358.8 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.09484, allocations: 92.83 kB / 358.9 MB, free: 10.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000177/0.09502, allocations: 150.3 kB / 359 MB, free: 10.61 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003535/0.09538, allocations: 280.9 kB / 359.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.09539, allocations: 0 / 359.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004592/0.09586, allocations: 339.9 kB / 359.7 MB, free: 9.98 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.09588, allocations: 7.938 kB / 359.7 MB, free: 9.973 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.09589, allocations: 4 kB / 359.7 MB, free: 9.969 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.09591, allocations: 4.094 kB / 359.7 MB, free: 9.965 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003259/0.09624, allocations: 99.83 kB / 359.8 MB, free: 9.867 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.178e-06/0.09626, allocations: 7.938 kB / 359.8 MB, free: 9.859 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.09637, allocations: 12 kB / 359.8 MB, free: 9.848 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.0964, allocations: 16 kB / 359.8 MB, free: 9.832 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001217/0.09653, allocations: 149.7 kB / 359.9 MB, free: 9.676 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.252e-05/0.09662, allocations: 27.66 kB / 360 MB, free: 9.648 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.029e-05/0.09669, allocations: 41.86 kB / 360 MB, free: 9.613 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.0967, allocations: 4 kB / 360 MB, free: 9.609 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.09671, allocations: 4 kB / 360 MB, free: 9.605 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.09672, allocations: 3.984 kB / 360 MB, free: 9.602 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001242/0.09797, allocations: 1.064 MB / 361.1 MB, free: 8.453 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.09799, allocations: 288 / 361.1 MB, free: 8.453 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003593/0.09835, allocations: 91.89 kB / 361.2 MB, free: 8.363 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.09837, allocations: 7.938 kB / 361.2 MB, free: 8.355 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.346e-05/0.0984, allocations: 12 kB / 361.2 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.064e-06/0.09841, allocations: 11.94 kB / 361.2 MB, free: 8.332 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.09842, allocations: 0 / 361.2 MB, free: 8.332 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00067/0.09909, allocations: 0.7287 MB / 361.9 MB, free: 7.562 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.043e-05/0.09916, allocations: 100.7 kB / 362 MB, free: 7.445 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.239e-05/0.09921, allocations: 16 kB / 362.1 MB, free: 7.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002109/0.09943, allocations: 8 kB / 362.1 MB, free: 7.422 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.581e-05/0.09948, allocations: 35.89 kB / 362.1 MB, free: 7.387 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.0995, allocations: 16 kB / 362.1 MB, free: 7.371 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.673e-05/0.09961, allocations: 136.5 kB / 362.2 MB, free: 7.238 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.09961, allocations: 4 kB / 362.3 MB, free: 7.234 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004124/0.1, allocations: 75.94 kB / 362.3 MB, free: 7.16 MB / 302.1 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,damper2.s_rel,damper2.v_rel,damper1.s_rel,damper1.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001131/0.1001, allocations: 115.1 kB / 362.4 MB, free: 7.035 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000392/0.1005, allocations: 260.4 kB / 362.7 MB, free: 6.781 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1006, allocations: 0 / 362.7 MB, free: 6.781 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001832/0.1007, allocations: 152.3 kB / 362.8 MB, free: 6.633 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000679/0.1014, allocations: 64.95 kB / 362.9 MB, free: 6.57 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.1027, allocations: 1.02 MB / 363.9 MB, free: 5.488 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.103, allocations: 0.7724 MB / 364.7 MB, free: 4.688 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001218/0.1032, allocations: 38.95 kB / 364.7 MB, free: 4.652 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.616e-05/0.1032, allocations: 27.44 kB / 364.8 MB, free: 4.625 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1033, allocations: 0 / 364.8 MB, free: 4.625 MB / 302.1 MB Notification: Performance of Templates: time 0.005631/0.1089, allocations: 2.823 MB / 367.6 MB, free: 1.824 MB / 302.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches