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.001478/0.001478, allocations: 116.7 kB / 17.7 MB, free: 5.277 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.001554/0.001554, allocations: 190.9 kB / 18.63 MB, free: 4.344 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.348/1.348, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009914/0.0009915, allocations: 52.03 kB / 302.1 MB, free: 5.16 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0862/0.08721, allocations: 49.44 MB / 351.5 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003378/0.09062, allocations: 2.417 MB / 353.9 MB, free: 1.262 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004943/0.09114, allocations: 239.1 kB / 354.1 MB, free: 1.027 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.09127, allocations: 8 kB / 354.2 MB, free: 1.02 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001489/0.09144, allocations: 43.52 kB / 354.2 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001393/0.09159, allocations: 79.27 kB / 354.3 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001522/0.09175, allocations: 55.94 kB / 354.3 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002662/0.09202, allocations: 294.6 kB / 354.6 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001971/0.09223, allocations: 97.67 kB / 354.7 MB, free: 468 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.905e-05/0.09233, allocations: 111.6 kB / 354.8 MB, free: 356 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.09249, allocations: 111.5 kB / 354.9 MB, free: 244 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.366e-05/0.09253, allocations: 20 kB / 355 MB, free: 224 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.856e-05/0.09258, allocations: 24 kB / 355 MB, free: 200 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.733e-05/0.09263, allocations: 59.72 kB / 355 MB, free: 140 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001285/0.09276, allocations: 135.4 kB / 355.2 MB, free: 4 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002842/0.09306, allocations: 298.9 kB / 355.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.09307, allocations: 0 / 355.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.09308, allocations: 0 / 355.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.09309, allocations: 0 / 355.5 MB, free: 15.71 MB / 302.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.0007303/0.09382, allocations: 0.5413 MB / 356 MB, free: 15.12 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.09387, allocations: 8.031 kB / 356 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.949e-05/0.09393, allocations: 36.5 kB / 356 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003106/0.09425, allocations: 241.8 kB / 356.3 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.09428, allocations: 20.94 kB / 356.3 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.017e-05/0.09433, allocations: 24.38 kB / 356.3 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003676/0.09471, allocations: 248 kB / 356.6 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.09473, allocations: 4.094 kB / 356.6 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.579e-05/0.09476, allocations: 15.94 kB / 356.6 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.353e-06/0.09478, allocations: 4 kB / 356.6 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002631/0.09504, allocations: 163.8 kB / 356.7 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009285/0.09598, allocations: 0.7929 MB / 357.5 MB, free: 13.47 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004487/0.09644, allocations: 287.7 kB / 357.8 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002296/0.09668, allocations: 130.5 kB / 357.9 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/0.09672, allocations: 4 kB / 358 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.138e-05/0.09677, allocations: 46.7 kB / 358 MB, free: 12.96 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 3.126e-06/0.09678, allocations: 0 / 358 MB, free: 12.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=45): time 0.002409/0.0992, allocations: 1.948 MB / 359.9 MB, free: 10.76 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.09926, allocations: 110.8 kB / 360.1 MB, free: 10.62 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.09943, allocations: 187.2 kB / 360.2 MB, free: 10.43 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.09946, allocations: 33.7 kB / 360.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.367e-05/0.09955, allocations: 136.8 kB / 360.4 MB, free: 10.25 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.923e-05/0.09965, allocations: 165.6 kB / 360.6 MB, free: 10.08 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.09976, allocations: 70.14 kB / 360.6 MB, free: 10 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.09987, allocations: 334.8 kB / 361 MB, free: 9.668 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.1, allocations: 92.83 kB / 361.1 MB, free: 9.578 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/0.1002, allocations: 162.3 kB / 361.2 MB, free: 9.402 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003559/0.1006, allocations: 276.7 kB / 361.5 MB, free: 9.113 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1006, allocations: 0 / 361.5 MB, free: 9.113 MB / 302.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004777/0.1011, allocations: 341.2 kB / 361.8 MB, free: 8.773 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.1011, allocations: 11.94 kB / 361.8 MB, free: 8.762 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.1011, allocations: 0 / 361.8 MB, free: 8.762 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.1011, allocations: 8 kB / 361.8 MB, free: 8.754 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003213/0.1015, allocations: 95.88 kB / 361.9 MB, free: 8.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.1015, allocations: 0 / 361.9 MB, free: 8.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.1016, allocations: 15.98 kB / 361.9 MB, free: 8.645 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.568e-05/0.1016, allocations: 20.09 kB / 362 MB, free: 8.625 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.0001244/0.1018, allocations: 153.7 kB / 362.1 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.664e-05/0.1018, allocations: 31.66 kB / 362.1 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.583e-05/0.1019, allocations: 37.86 kB / 362.2 MB, free: 8.402 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.1019, allocations: 4 kB / 362.2 MB, free: 8.398 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.102, allocations: 4 kB / 362.2 MB, free: 8.395 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.102, allocations: 3.984 kB / 362.2 MB, free: 8.391 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/0.1033, allocations: 1.062 MB / 363.3 MB, free: 7.246 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.1033, allocations: 0 / 363.3 MB, free: 7.246 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003632/0.1037, allocations: 95.83 kB / 363.3 MB, free: 7.152 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/0.1037, allocations: 7.938 kB / 363.4 MB, free: 7.145 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/0.1037, allocations: 8 kB / 363.4 MB, free: 7.137 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-06/0.1037, allocations: 8.453 kB / 363.4 MB, free: 7.129 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.1037, allocations: 4 kB / 363.4 MB, free: 7.125 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007097/0.1044, allocations: 0.7248 MB / 364.1 MB, free: 6.355 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.904e-05/0.1045, allocations: 116.7 kB / 364.2 MB, free: 6.223 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.715e-05/0.1046, allocations: 8 kB / 364.2 MB, free: 6.215 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002372/0.1048, allocations: 12 kB / 364.2 MB, free: 6.203 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.38e-05/0.1049, allocations: 39.83 kB / 364.3 MB, free: 6.164 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.885e-05/0.1049, allocations: 12 kB / 364.3 MB, free: 6.152 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001436/0.105, allocations: 140.5 kB / 364.4 MB, free: 6.016 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1051, allocations: 0 / 364.4 MB, free: 6.016 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004256/0.1055, allocations: 72 kB / 364.5 MB, free: 5.945 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.0001351/0.1056, allocations: 107.2 kB / 364.6 MB, free: 5.828 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000452/0.1061, allocations: 269.1 kB / 364.9 MB, free: 5.57 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1061, allocations: 0 / 364.9 MB, free: 5.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001934/0.1063, allocations: 155.8 kB / 365 MB, free: 5.418 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006619/0.107, allocations: 64.94 kB / 365.1 MB, free: 5.355 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.1083, allocations: 0.9091 MB / 366 MB, free: 4.387 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.1087, allocations: 0.7682 MB / 366.8 MB, free: 3.59 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001228/0.1088, allocations: 30.97 kB / 366.8 MB, free: 3.562 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.138e-05/0.1089, allocations: 31.44 kB / 366.8 MB, free: 3.531 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1089, allocations: 0 / 366.8 MB, free: 3.531 MB / 302.1 MB Notification: Performance of Templates: time 0.006563/0.1154, allocations: 2.98 MB / 369.8 MB, free: 0.582 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins1/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