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.001075/0.001076, allocations: 91.78 kB / 16.65 MB, free: 6.59 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.001292/0.001292, allocations: 181.9 kB / 17.56 MB, free: 6.203 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.327/1.327, allocations: 223.2 MB / 241.6 MB, free: 224 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002308/0.0002308, allocations: 12.61 kB / 301.4 MB, free: 6.137 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09032/0.09057, allocations: 50.41 MB / 351.8 MB, free: 3.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.002317/0.09293, allocations: 2.104 MB / 353.9 MB, free: 1.602 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006343/0.09359, allocations: 239.1 kB / 354.2 MB, free: 1.367 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001462/0.09376, allocations: 7.938 kB / 354.2 MB, free: 1.359 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001444/0.09391, allocations: 31.77 kB / 354.2 MB, free: 1.328 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001711/0.09409, allocations: 79.33 kB / 354.3 MB, free: 1.25 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001901/0.09429, allocations: 47.91 kB / 354.3 MB, free: 1.203 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003256/0.09463, allocations: 282.7 kB / 354.6 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002313/0.09487, allocations: 82.25 kB / 354.7 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.09497, allocations: 95.58 kB / 354.8 MB, free: 0.75 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.09513, allocations: 107.4 kB / 354.9 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.09517, allocations: 12 kB / 354.9 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.295e-05/0.09521, allocations: 12 kB / 354.9 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.163e-05/0.09526, allocations: 43.78 kB / 354.9 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.09539, allocations: 145.1 kB / 355.1 MB, free: 440 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002454/0.09564, allocations: 267.1 kB / 355.3 MB, free: 172 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.09565, allocations: 0 / 355.3 MB, free: 172 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.09566, allocations: 0 / 355.3 MB, free: 172 kB / 286.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.09567, allocations: 0 / 355.3 MB, free: 172 kB / 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.0007228/0.0964, allocations: 0.503 MB / 355.9 MB, free: 15.61 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.09646, allocations: 12.02 kB / 355.9 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.506e-05/0.09654, allocations: 32.56 kB / 355.9 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.09681, allocations: 241.5 kB / 356.1 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/0.09684, allocations: 24.92 kB / 356.2 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.09e-05/0.0969, allocations: 24.38 kB / 356.2 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003926/0.0973, allocations: 240 kB / 356.4 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.09733, allocations: 8.078 kB / 356.4 MB, free: 14.99 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.777e-05/0.09736, allocations: 15.94 kB / 356.4 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.036e-06/0.09737, allocations: 4 kB / 356.4 MB, free: 14.97 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002836/0.09766, allocations: 155.9 kB / 356.6 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.09869, allocations: 0.8047 MB / 357.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000489/0.09919, allocations: 295.7 kB / 357.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002401/0.09944, allocations: 137.9 kB / 357.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.09947, allocations: 0 / 357.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.0995, allocations: 42.5 kB / 357.9 MB, free: 13.45 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 1.263e-06/0.09951, allocations: 3.938 kB / 357.9 MB, free: 13.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=45): time 0.002477/0.102, allocations: 1.94 MB / 359.8 MB, free: 11.24 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.206e-05/0.1021, allocations: 118.7 kB / 359.9 MB, free: 11.1 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.1023, allocations: 191.2 kB / 360.1 MB, free: 10.9 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.1023, allocations: 33.7 kB / 360.1 MB, free: 10.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.642e-05/0.1024, allocations: 140.8 kB / 360.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.1025, allocations: 157.6 kB / 360.4 MB, free: 10.56 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.248e-05/0.1026, allocations: 41.7 kB / 360.5 MB, free: 10.51 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1027, allocations: 342.8 kB / 360.8 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.1028, allocations: 88.84 kB / 360.9 MB, free: 10.08 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.103, allocations: 158.3 kB / 361 MB, free: 9.906 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003672/0.1034, allocations: 275.3 kB / 361.3 MB, free: 9.621 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1034, allocations: 4 kB / 361.3 MB, free: 9.617 MB / 302.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004777/0.1039, allocations: 341.1 kB / 361.7 MB, free: 9.277 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.1039, allocations: 7.938 kB / 361.7 MB, free: 9.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.104, allocations: 4 kB / 361.7 MB, free: 9.266 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.104, allocations: 0 / 361.7 MB, free: 9.266 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003155/0.1043, allocations: 99.83 kB / 361.8 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.1043, allocations: 4 kB / 361.8 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.1044, allocations: 16.09 kB / 361.8 MB, free: 9.148 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.1045, allocations: 8.047 kB / 361.8 MB, free: 9.141 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.0001316/0.1046, allocations: 157.7 kB / 361.9 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.635e-05/0.1047, allocations: 36.56 kB / 362 MB, free: 8.941 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.158e-05/0.1048, allocations: 37.88 kB / 362 MB, free: 8.91 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.1048, allocations: 4 kB / 362 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.1048, allocations: 0 / 362 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.1048, allocations: 3.984 kB / 362 MB, free: 8.902 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/0.1061, allocations: 1.055 MB / 363.1 MB, free: 7.762 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-06/0.1061, allocations: 4 kB / 363.1 MB, free: 7.758 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003556/0.1065, allocations: 91.83 kB / 363.2 MB, free: 7.668 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.1065, allocations: 12.22 kB / 363.2 MB, free: 7.656 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.576e-05/0.1066, allocations: 20 kB / 363.2 MB, free: 7.637 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.1066, allocations: 4 kB / 363.2 MB, free: 7.633 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.1066, allocations: 4 kB / 363.2 MB, free: 7.629 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000698/0.1073, allocations: 0.7208 MB / 363.9 MB, free: 6.863 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.353e-05/0.1074, allocations: 96.83 kB / 364 MB, free: 6.75 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.403e-05/0.1074, allocations: 20 kB / 364 MB, free: 6.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/0.1076, allocations: 15.94 kB / 364.1 MB, free: 6.715 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.663e-05/0.1077, allocations: 27.95 kB / 364.1 MB, free: 6.688 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.161e-05/0.1077, allocations: 16 kB / 364.1 MB, free: 6.672 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.00013/0.1078, allocations: 136.5 kB / 364.2 MB, free: 6.539 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1078, allocations: 0 / 364.2 MB, free: 6.539 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004184/0.1083, allocations: 75.94 kB / 364.3 MB, free: 6.465 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.0001287/0.1084, allocations: 123.1 kB / 364.4 MB, free: 6.332 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004074/0.1088, allocations: 258.2 kB / 364.7 MB, free: 6.082 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1088, allocations: 0 / 364.7 MB, free: 6.082 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001915/0.109, allocations: 156.7 kB / 364.8 MB, free: 5.93 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007694/0.1098, allocations: 69.98 kB / 364.9 MB, free: 5.867 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.1113, allocations: 1.116 MB / 366 MB, free: 4.691 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.1116, allocations: 0.7762 MB / 366.8 MB, free: 3.887 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001172/0.1117, allocations: 39.22 kB / 366.8 MB, free: 3.852 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.05e-05/0.1118, allocations: 27.44 kB / 366.9 MB, free: 3.824 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1118, allocations: 4 kB / 366.9 MB, free: 3.82 MB / 302.1 MB Notification: Performance of Templates: time 0.006058/0.1179, allocations: 2.804 MB / 369.7 MB, free: 1.043 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