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.00122/0.00122, allocations: 106.3 kB / 17.16 MB, free: 6.324 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.001435/0.001435, allocations: 198.9 kB / 18.08 MB, free: 5.422 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.342/1.342, allocations: 222.9 MB / 241.8 MB, free: 15.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 47.17 kB / 300.6 MB, free: 6.266 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1016, allocations: 49.45 MB / 350 MB, free: 4.805 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.004059/0.1058, allocations: 2.459 MB / 352.5 MB, free: 2.328 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006095/0.1064, allocations: 243.1 kB / 352.7 MB, free: 2.09 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001926/0.1066, allocations: 4 kB / 352.7 MB, free: 2.086 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000192/0.1068, allocations: 35.7 kB / 352.8 MB, free: 2.051 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002104/0.1071, allocations: 75.38 kB / 352.9 MB, free: 1.977 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000181/0.1073, allocations: 47.97 kB / 352.9 MB, free: 1.93 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003419/0.1076, allocations: 286.6 kB / 353.2 MB, free: 1.648 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000233/0.1079, allocations: 78.25 kB / 353.3 MB, free: 1.57 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.108, allocations: 99.59 kB / 353.4 MB, free: 1.473 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.1082, allocations: 111.5 kB / 353.5 MB, free: 1.363 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.829e-05/0.1082, allocations: 16 kB / 353.5 MB, free: 1.348 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.492e-05/0.1083, allocations: 16 kB / 353.5 MB, free: 1.332 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.904e-05/0.1083, allocations: 47.78 kB / 353.5 MB, free: 1.285 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.1084, allocations: 123.4 kB / 353.7 MB, free: 1.164 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002384/0.1087, allocations: 215.7 kB / 353.9 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1087, allocations: 0 / 353.9 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.286e-06/0.1087, allocations: 0 / 353.9 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.1087, allocations: 3.938 kB / 353.9 MB, free: 0.9492 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.0008004/0.1095, allocations: 0.5419 MB / 354.4 MB, free: 364 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.1096, allocations: 12.03 kB / 354.4 MB, free: 352 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.952e-05/0.1097, allocations: 32.56 kB / 354.5 MB, free: 320 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002673/0.1099, allocations: 236.6 kB / 354.7 MB, free: 40 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.856e-05/0.11, allocations: 24.88 kB / 354.7 MB, free: 16 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.192e-05/0.1101, allocations: 24.45 kB / 354.7 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004254/0.1105, allocations: 240 kB / 355 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.1105, allocations: 4.094 kB / 355 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.547e-05/0.1106, allocations: 15.94 kB / 355 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.1106, allocations: 8 kB / 355 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002828/0.1109, allocations: 163.8 kB / 355.2 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/0.112, allocations: 0.8046 MB / 356 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005167/0.1125, allocations: 287.7 kB / 356.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002536/0.1128, allocations: 136.5 kB / 356.4 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.1128, allocations: 4 kB / 356.4 MB, free: 14.24 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.1129, allocations: 34.56 kB / 356.4 MB, free: 14.2 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 1.543e-06/0.1129, allocations: 0 / 356.4 MB, free: 14.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=45): time 0.002772/0.1156, allocations: 1.954 MB / 358.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.528e-05/0.1157, allocations: 110.8 kB / 358.5 MB, free: 11.85 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.1159, allocations: 191.2 kB / 358.7 MB, free: 11.65 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.116, allocations: 29.7 kB / 358.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.179e-05/0.1161, allocations: 140.8 kB / 358.8 MB, free: 11.47 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.1162, allocations: 157.6 kB / 359 MB, free: 11.31 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.1163, allocations: 74.12 kB / 359.1 MB, free: 11.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.1164, allocations: 342.8 kB / 359.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001713/0.1166, allocations: 96.78 kB / 359.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001983/0.1168, allocations: 162.3 kB / 359.7 MB, free: 10.62 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003909/0.1172, allocations: 273.3 kB / 359.9 MB, free: 10.33 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1172, allocations: 0 / 359.9 MB, free: 10.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004961/0.1177, allocations: 345.1 kB / 360.3 MB, free: 9.992 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.1177, allocations: 10.59 kB / 360.3 MB, free: 9.984 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.1178, allocations: 4 kB / 360.3 MB, free: 9.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.1178, allocations: 4 kB / 360.3 MB, free: 9.977 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000336/0.1181, allocations: 83.91 kB / 360.4 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/0.1181, allocations: 12.08 kB / 360.4 MB, free: 9.883 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.1183, allocations: 16 kB / 360.4 MB, free: 9.867 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/0.1183, allocations: 23.88 kB / 360.4 MB, free: 9.844 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.0001456/0.1185, allocations: 153.7 kB / 360.6 MB, free: 9.684 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.907e-05/0.1186, allocations: 31.66 kB / 360.6 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.545e-05/0.1186, allocations: 37.86 kB / 360.6 MB, free: 9.621 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.1186, allocations: 4 kB / 360.6 MB, free: 9.617 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.1187, allocations: 0 / 360.6 MB, free: 9.617 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1187, allocations: 0 / 360.6 MB, free: 9.617 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001385/0.1201, allocations: 1.058 MB / 361.7 MB, free: 8.473 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.1201, allocations: 0 / 361.7 MB, free: 8.473 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003635/0.1204, allocations: 91.89 kB / 361.8 MB, free: 8.383 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.1205, allocations: 12.22 kB / 361.8 MB, free: 8.371 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.718e-05/0.1205, allocations: 8 kB / 361.8 MB, free: 8.363 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/0.1205, allocations: 8 kB / 361.8 MB, free: 8.355 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.1205, allocations: 11.86 kB / 361.8 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007534/0.1213, allocations: 0.7207 MB / 362.5 MB, free: 7.586 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.773e-05/0.1214, allocations: 108.8 kB / 362.6 MB, free: 7.461 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.17e-05/0.1214, allocations: 15.94 kB / 362.7 MB, free: 7.445 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002127/0.1216, allocations: 16 kB / 362.7 MB, free: 7.43 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.457e-05/0.1217, allocations: 27.91 kB / 362.7 MB, free: 7.402 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/0.1217, allocations: 12 kB / 362.7 MB, free: 7.391 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001105/0.1218, allocations: 140.5 kB / 362.9 MB, free: 7.254 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1218, allocations: 0 / 362.9 MB, free: 7.254 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004301/0.1223, allocations: 75.94 kB / 362.9 MB, free: 7.18 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.0001363/0.1224, allocations: 115.3 kB / 363 MB, free: 7.055 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004268/0.1228, allocations: 267.7 kB / 363.3 MB, free: 6.793 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1229, allocations: 0 / 363.3 MB, free: 6.793 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00019/0.123, allocations: 144.5 kB / 363.4 MB, free: 6.652 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007526/0.1238, allocations: 68.52 kB / 363.5 MB, free: 6.586 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.1253, allocations: 1.045 MB / 364.6 MB, free: 5.469 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.1256, allocations: 0.7685 MB / 365.3 MB, free: 4.672 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.973e-05/0.1257, allocations: 27.44 kB / 365.3 MB, free: 4.645 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1257, allocations: 4 kB / 365.4 MB, free: 4.641 MB / 302.1 MB Notification: Performance of Templates: time 0.005299/0.1311, allocations: 3.436 MB / 368.8 MB, free: 1.215 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/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