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.0009961/0.0009962, allocations: 110.6 kB / 16.62 MB, free: 6.961 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.001002/0.001002, allocations: 190 kB / 17.54 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.314/1.314, allocations: 222.9 MB / 241.2 MB, free: 15.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009978/0.0009979, allocations: 46.89 kB / 300.1 MB, free: 6.203 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08421/0.08522, allocations: 49.45 MB / 349.6 MB, free: 4.746 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003396/0.08866, allocations: 2.459 MB / 352 MB, free: 2.27 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004305/0.08911, allocations: 239.1 kB / 352.3 MB, free: 2.035 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.08924, allocations: 11.94 kB / 352.3 MB, free: 2.023 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001442/0.0894, allocations: 31.7 kB / 352.3 MB, free: 1.992 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001463/0.08955, allocations: 71.45 kB / 352.4 MB, free: 1.922 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001551/0.08971, allocations: 43.95 kB / 352.4 MB, free: 1.879 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000264/0.08998, allocations: 294.7 kB / 352.7 MB, free: 1.59 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001864/0.09017, allocations: 101.7 kB / 352.8 MB, free: 1.488 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.296e-05/0.09027, allocations: 103.6 kB / 352.9 MB, free: 1.387 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.09042, allocations: 119.5 kB / 353 MB, free: 1.27 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.756e-05/0.09047, allocations: 20 kB / 353 MB, free: 1.25 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.799e-05/0.09051, allocations: 24 kB / 353.1 MB, free: 1.227 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.478e-05/0.09056, allocations: 55.77 kB / 353.1 MB, free: 1.172 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.09069, allocations: 131.4 kB / 353.3 MB, free: 1.043 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000276/0.09097, allocations: 287.2 kB / 353.5 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.09098, allocations: 0 / 353.5 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.09099, allocations: 3.938 kB / 353.5 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.091, allocations: 0 / 353.5 MB, free: 0.7578 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.0007833/0.09179, allocations: 0.542 MB / 354.1 MB, free: 168 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.09184, allocations: 8.031 kB / 354.1 MB, free: 160 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.038e-05/0.0919, allocations: 32.56 kB / 354.1 MB, free: 128 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002719/0.09218, allocations: 240.5 kB / 354.4 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.09221, allocations: 20.94 kB / 354.4 MB, free: 15.83 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.966e-05/0.09226, allocations: 24.38 kB / 354.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003731/0.09264, allocations: 236 kB / 354.6 MB, free: 15.56 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.09267, allocations: 8.094 kB / 354.6 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.404e-05/0.0927, allocations: 15.94 kB / 354.6 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.09271, allocations: 8 kB / 354.7 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002587/0.09298, allocations: 167.8 kB / 354.8 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009423/0.09393, allocations: 0.7968 MB / 355.6 MB, free: 14.51 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004559/0.0944, allocations: 294 kB / 355.9 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002252/0.09463, allocations: 142.7 kB / 356 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.09466, allocations: 7.938 kB / 356.1 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.09469, allocations: 38.55 kB / 356.1 MB, free: 14 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 1.462e-06/0.0947, allocations: 0 / 356.1 MB, free: 14 MB / 302.1 MB Notification: Performance of matching and sorting (n=45): time 0.00242/0.09713, allocations: 1.949 MB / 358 MB, free: 11.79 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.09719, allocations: 106.8 kB / 358.1 MB, free: 11.66 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.09736, allocations: 195.1 kB / 358.3 MB, free: 11.45 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.09739, allocations: 29.7 kB / 358.4 MB, free: 11.42 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.422e-05/0.09749, allocations: 140.8 kB / 358.5 MB, free: 11.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.0976, allocations: 165.6 kB / 358.7 MB, free: 11.11 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.418e-05/0.0977, allocations: 70.14 kB / 358.7 MB, free: 11.03 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.09782, allocations: 338.8 kB / 359.1 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.09798, allocations: 92.83 kB / 359.2 MB, free: 10.6 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000177/0.09816, allocations: 154.3 kB / 359.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003451/0.09851, allocations: 273.8 kB / 359.6 MB, free: 10.14 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.09852, allocations: 0 / 359.6 MB, free: 10.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004419/0.09897, allocations: 344.3 kB / 359.9 MB, free: 9.809 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.09899, allocations: 7.938 kB / 359.9 MB, free: 9.801 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.099, allocations: 8.094 kB / 359.9 MB, free: 9.793 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.09902, allocations: 4 kB / 359.9 MB, free: 9.789 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003189/0.09935, allocations: 99.88 kB / 360 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.09936, allocations: 4 kB / 360 MB, free: 9.688 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.09947, allocations: 16.92 kB / 360 MB, free: 9.672 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.199e-05/0.0995, allocations: 16 kB / 360.1 MB, free: 9.656 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.0001209/0.09963, allocations: 149.7 kB / 360.2 MB, free: 9.5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.442e-05/0.09972, allocations: 31.66 kB / 360.2 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.177e-05/0.0998, allocations: 37.86 kB / 360.3 MB, free: 9.438 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.09981, allocations: 8 kB / 360.3 MB, free: 9.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.09982, allocations: 0 / 360.3 MB, free: 9.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.09983, allocations: 3.984 kB / 360.3 MB, free: 9.426 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001296/0.1011, allocations: 1.066 MB / 361.4 MB, free: 8.273 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.1012, allocations: 4.062 kB / 361.4 MB, free: 8.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003686/0.1015, allocations: 87.89 kB / 361.4 MB, free: 8.184 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/0.1015, allocations: 7.938 kB / 361.4 MB, free: 8.176 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.536e-05/0.1016, allocations: 12 kB / 361.5 MB, free: 8.164 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.1016, allocations: 11.94 kB / 361.5 MB, free: 8.152 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1016, allocations: 0 / 361.5 MB, free: 8.152 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006828/0.1023, allocations: 0.7209 MB / 362.2 MB, free: 7.391 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.181e-05/0.1024, allocations: 104.7 kB / 362.3 MB, free: 7.27 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.252e-05/0.1024, allocations: 20 kB / 362.3 MB, free: 7.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.1026, allocations: 8 kB / 362.3 MB, free: 7.242 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/0.1027, allocations: 31.89 kB / 362.4 MB, free: 7.211 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/0.1027, allocations: 16 kB / 362.4 MB, free: 7.195 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.897e-05/0.1028, allocations: 136.5 kB / 362.5 MB, free: 7.062 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1028, allocations: 0 / 362.5 MB, free: 7.062 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004176/0.1032, allocations: 75.94 kB / 362.6 MB, free: 6.988 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.0001177/0.1034, allocations: 122.1 kB / 362.7 MB, free: 6.859 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004397/0.1038, allocations: 291.7 kB / 363 MB, free: 6.574 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1038, allocations: 0 / 363 MB, free: 6.574 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000182/0.104, allocations: 144 kB / 363.1 MB, free: 6.434 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007143/0.1047, allocations: 64.52 kB / 363.2 MB, free: 6.371 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/0.1061, allocations: 1.014 MB / 364.2 MB, free: 5.297 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.1064, allocations: 0.7721 MB / 365 MB, free: 4.492 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001286/0.1066, allocations: 38.94 kB / 365 MB, free: 4.457 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.952e-05/0.1067, allocations: 31.44 kB / 365 MB, free: 4.426 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1067, allocations: 0 / 365 MB, free: 4.426 MB / 302.1 MB Notification: Performance of Templates: time 0.006202/0.1129, allocations: 2.96 MB / 368 MB, free: 1.492 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