Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009286/0.0009285, allocations: 93.33 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001098/0.001098, allocations: 201.5 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.7 MB / 247.5 MB, free: 11.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002557/0.0002556, allocations: 4 kB / 308.4 MB, free: 0.8281 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0944/0.09468, allocations: 51.53 MB / 359.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.002597/0.09732, allocations: 2.109 MB / 362 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006047/0.09795, allocations: 247 kB / 362.3 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000184/0.09816, allocations: 4 kB / 362.3 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001451/0.09831, allocations: 31.7 kB / 362.3 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002391/0.09856, allocations: 71.45 kB / 362.4 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001979/0.09877, allocations: 47.95 kB / 362.4 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003267/0.09911, allocations: 282.6 kB / 362.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001846/0.0993, allocations: 78.23 kB / 362.8 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.09944, allocations: 95.59 kB / 362.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.09962, allocations: 111.5 kB / 363 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.575e-05/0.09966, allocations: 12 kB / 363 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4e-05/0.09971, allocations: 12 kB / 363 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.434e-05/0.09976, allocations: 43.78 kB / 363 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001414/0.09991, allocations: 141.1 kB / 363.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002055/0.1001, allocations: 207.6 kB / 363.4 MB, free: 9.812 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1001, allocations: 7.938 kB / 363.4 MB, free: 9.805 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1001, allocations: 0 / 363.4 MB, free: 9.805 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.1002, allocations: 0 / 363.4 MB, free: 9.805 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.0006975/0.1009, allocations: 0.4992 MB / 363.9 MB, free: 9.254 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.1009, allocations: 12.03 kB / 363.9 MB, free: 9.242 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.171e-05/0.101, allocations: 28.56 kB / 363.9 MB, free: 9.215 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002608/0.1012, allocations: 244.5 kB / 364.2 MB, free: 8.934 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.1013, allocations: 16.94 kB / 364.2 MB, free: 8.918 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.779e-05/0.1013, allocations: 32.36 kB / 364.2 MB, free: 8.887 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003933/0.1017, allocations: 239.9 kB / 364.4 MB, free: 8.641 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.1018, allocations: 4.188 kB / 364.4 MB, free: 8.637 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.349e-05/0.1018, allocations: 11.94 kB / 364.5 MB, free: 8.625 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.1018, allocations: 8 kB / 364.5 MB, free: 8.617 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002724/0.1021, allocations: 159.8 kB / 364.6 MB, free: 8.461 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001103/0.1032, allocations: 0.8045 MB / 365.4 MB, free: 7.598 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004923/0.1037, allocations: 291.7 kB / 365.7 MB, free: 7.285 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002418/0.104, allocations: 134.5 kB / 365.8 MB, free: 7.145 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.104, allocations: 8 kB / 365.9 MB, free: 7.137 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.104, allocations: 38.56 kB / 365.9 MB, free: 7.09 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 1.814e-06/0.104, allocations: 0 / 365.9 MB, free: 7.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=45): time 0.002741/0.1068, allocations: 1.95 MB / 367.8 MB, free: 4.879 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.164e-05/0.1069, allocations: 118.8 kB / 368 MB, free: 4.738 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.1071, allocations: 182.6 kB / 368.1 MB, free: 4.543 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/0.1071, allocations: 37.7 kB / 368.2 MB, free: 4.5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.1072, allocations: 132.8 kB / 368.3 MB, free: 4.363 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000138/0.1074, allocations: 169.6 kB / 368.5 MB, free: 4.195 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.959e-05/0.1074, allocations: 45.58 kB / 368.5 MB, free: 4.145 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.1076, allocations: 334.8 kB / 368.8 MB, free: 3.809 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/0.1077, allocations: 96.83 kB / 368.9 MB, free: 3.715 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.108, allocations: 158.3 kB / 369.1 MB, free: 3.535 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003874/0.1084, allocations: 267.2 kB / 369.3 MB, free: 3.258 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1084, allocations: 3.938 kB / 369.4 MB, free: 3.254 MB / 302.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005126/0.1089, allocations: 344.6 kB / 369.7 MB, free: 2.914 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.1089, allocations: 11.94 kB / 369.7 MB, free: 2.902 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.1089, allocations: 0 / 369.7 MB, free: 2.902 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.1089, allocations: 4 kB / 369.7 MB, free: 2.898 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000334/0.1093, allocations: 91.89 kB / 369.8 MB, free: 2.809 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.1093, allocations: 11.88 kB / 369.8 MB, free: 2.797 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.1094, allocations: 8.938 kB / 369.8 MB, free: 2.789 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.293e-05/0.1095, allocations: 20.09 kB / 369.8 MB, free: 2.77 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.0001491/0.1096, allocations: 146.9 kB / 370 MB, free: 2.617 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.75e-05/0.1097, allocations: 31.66 kB / 370 MB, free: 2.586 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.7e-05/0.1098, allocations: 37.86 kB / 370 MB, free: 2.551 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.1098, allocations: 8 kB / 370.1 MB, free: 2.543 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.1098, allocations: 0 / 370.1 MB, free: 2.543 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.1099, allocations: 0 / 370.1 MB, free: 2.543 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001464/0.1113, allocations: 1.069 MB / 371.1 MB, free: 1.391 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.1113, allocations: 0 / 371.1 MB, free: 1.391 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003528/0.1117, allocations: 87.91 kB / 371.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.058e-05/0.1117, allocations: 7.938 kB / 371.2 MB, free: 1.297 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.322e-05/0.1117, allocations: 12.22 kB / 371.2 MB, free: 1.285 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.174e-05/0.1118, allocations: 19.92 kB / 371.2 MB, free: 1.266 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.1118, allocations: 4 kB / 371.3 MB, free: 1.262 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007746/0.1126, allocations: 0.7135 MB / 372 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.621e-05/0.1126, allocations: 108.8 kB / 372.1 MB, free: 388 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.836e-05/0.1127, allocations: 11.94 kB / 372.1 MB, free: 376 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/0.1129, allocations: 12 kB / 372.1 MB, free: 364 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.563e-05/0.113, allocations: 35.91 kB / 372.1 MB, free: 328 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/0.113, allocations: 12 kB / 372.1 MB, free: 316 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001169/0.1131, allocations: 144.9 kB / 372.3 MB, free: 172 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1131, allocations: 0 / 372.3 MB, free: 172 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004398/0.1136, allocations: 75.94 kB / 372.4 MB, free: 96 kB / 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.1637/0.2773, allocations: 111.3 kB / 372.5 MB, free: 19.91 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000776/0.2781, allocations: 260.2 kB / 372.7 MB, free: 19.91 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.2781, allocations: 4.719 kB / 372.7 MB, free: 19.91 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002586/0.2784, allocations: 143.1 kB / 372.9 MB, free: 19.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009888/0.2794, allocations: 66.34 kB / 372.9 MB, free: 19.91 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/0.281, allocations: 1.153 MB / 374.1 MB, free: 19.19 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.2813, allocations: 0.7724 MB / 374.9 MB, free: 18.48 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.643e-05/0.2814, allocations: 29.44 kB / 374.9 MB, free: 18.48 MB / 302.1 MB Notification: Performance of SimCode: time 5.92e-07/0.2814, allocations: 0 / 374.9 MB, free: 18.48 MB / 302.1 MB Notification: Performance of Templates: time 0.006948/0.2883, allocations: 3.406 MB / 378.3 MB, free: 18.21 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches