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.001135/0.001135, allocations: 103.1 kB / 17 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001565/0.001566, allocations: 197.2 kB / 17.91 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.7 MB / 246.4 MB, free: 9.777 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002693/0.0002693, allocations: 8 kB / 307.1 MB, free: 0.9453 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1063, allocations: 51.52 MB / 358.6 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.002157/0.1085, allocations: 2.028 MB / 360.7 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004136/0.1089, allocations: 235.2 kB / 360.9 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.554e-05/0.109, allocations: 4 kB / 360.9 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001048/0.1092, allocations: 31.7 kB / 360.9 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001238/0.1093, allocations: 75.44 kB / 361 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001325/0.1094, allocations: 35.97 kB / 361 MB, free: 11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002489/0.1097, allocations: 278.6 kB / 361.3 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001657/0.1099, allocations: 81.61 kB / 361.4 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.045e-05/0.11, allocations: 87.66 kB / 361.5 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.1101, allocations: 103.5 kB / 361.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.734e-05/0.1101, allocations: 12 kB / 361.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.35e-05/0.1102, allocations: 12 kB / 361.6 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.482e-05/0.1102, allocations: 39.84 kB / 361.6 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.449e-05/0.1103, allocations: 77.58 kB / 361.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001878/0.1105, allocations: 211.6 kB / 361.9 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1105, allocations: 4 kB / 361.9 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1105, allocations: 0 / 361.9 MB, free: 10.11 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.1105, allocations: 0 / 361.9 MB, free: 10.11 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.0006267/0.1111, allocations: 0.4952 MB / 362.4 MB, free: 9.562 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.1112, allocations: 8.031 kB / 362.4 MB, free: 9.555 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.99e-05/0.1112, allocations: 31.62 kB / 362.5 MB, free: 9.523 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002685/0.1115, allocations: 239.3 kB / 362.7 MB, free: 9.246 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.1115, allocations: 20.56 kB / 362.7 MB, free: 9.227 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.854e-05/0.1116, allocations: 24 kB / 362.7 MB, free: 9.203 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004551/0.1121, allocations: 243.4 kB / 363 MB, free: 8.953 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/0.1121, allocations: 11.84 kB / 363 MB, free: 8.941 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.33e-05/0.1121, allocations: 8 kB / 363 MB, free: 8.934 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.1121, allocations: 8 kB / 363 MB, free: 8.926 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003357/0.1125, allocations: 155.8 kB / 363.2 MB, free: 8.773 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.1135, allocations: 0.8047 MB / 364 MB, free: 7.91 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004761/0.114, allocations: 287.7 kB / 364.2 MB, free: 7.602 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002366/0.1143, allocations: 126.5 kB / 364.4 MB, free: 7.469 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.1143, allocations: 4 kB / 364.4 MB, free: 7.465 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.1143, allocations: 42.81 kB / 364.4 MB, free: 7.414 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 1.443e-06/0.1143, allocations: 3.938 kB / 364.4 MB, free: 7.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=45): time 0.002703/0.1171, allocations: 1.949 MB / 366.4 MB, free: 5.199 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.569e-05/0.1171, allocations: 114.8 kB / 366.5 MB, free: 5.062 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.1173, allocations: 191 kB / 366.7 MB, free: 4.859 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.1174, allocations: 29.7 kB / 366.7 MB, free: 4.824 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.98e-05/0.1175, allocations: 144.8 kB / 366.8 MB, free: 4.676 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.1176, allocations: 157.6 kB / 367 MB, free: 4.52 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.672e-05/0.1176, allocations: 12 kB / 367 MB, free: 4.508 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.1178, allocations: 338.8 kB / 367.3 MB, free: 4.168 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.1179, allocations: 88.84 kB / 367.4 MB, free: 4.082 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001966/0.1181, allocations: 150.3 kB / 367.6 MB, free: 3.91 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001913/0.1183, allocations: 125.3 kB / 367.7 MB, free: 3.793 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1183, allocations: 0 / 367.7 MB, free: 3.793 MB / 302.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004903/0.1188, allocations: 337 kB / 368 MB, free: 3.457 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.1189, allocations: 4 kB / 368 MB, free: 3.453 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.1189, allocations: 0 / 368 MB, free: 3.453 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.1189, allocations: 4 kB / 368 MB, free: 3.449 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003434/0.1192, allocations: 99.98 kB / 368.1 MB, free: 3.352 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.558e-05/0.1193, allocations: 7.938 kB / 368.1 MB, free: 3.344 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.1194, allocations: 12 kB / 368.1 MB, free: 3.332 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.936e-05/0.1194, allocations: 12 kB / 368.1 MB, free: 3.32 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001495/0.1196, allocations: 150.9 kB / 368.3 MB, free: 3.164 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.76e-05/0.1197, allocations: 31.58 kB / 368.3 MB, free: 3.133 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.1198, allocations: 41.86 kB / 368.4 MB, free: 3.094 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.391e-06/0.1198, allocations: 4 kB / 368.4 MB, free: 3.09 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.1198, allocations: 4.938 kB / 368.4 MB, free: 3.086 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.1198, allocations: 0 / 368.4 MB, free: 3.086 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001492/0.1213, allocations: 1.059 MB / 369.4 MB, free: 1.945 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/0.1213, allocations: 4.328 kB / 369.4 MB, free: 1.941 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003699/0.1217, allocations: 95.98 kB / 369.5 MB, free: 1.848 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.685e-06/0.1217, allocations: 7.938 kB / 369.5 MB, free: 1.84 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.794e-05/0.1218, allocations: 19.94 kB / 369.6 MB, free: 1.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.722e-06/0.1218, allocations: 7.938 kB / 369.6 MB, free: 1.812 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.1218, allocations: 4 kB / 369.6 MB, free: 1.809 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008229/0.1226, allocations: 0.7132 MB / 370.3 MB, free: 1.051 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.198e-05/0.1227, allocations: 104.8 kB / 370.4 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.213e-05/0.1227, allocations: 16.06 kB / 370.4 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/0.1229, allocations: 11.95 kB / 370.4 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.123, allocations: 27.91 kB / 370.4 MB, free: 0.875 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.142e-05/0.123, allocations: 19.98 kB / 370.5 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001123/0.1231, allocations: 132.5 kB / 370.6 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1232, allocations: 7.938 kB / 370.6 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004332/0.1236, allocations: 72 kB / 370.7 MB, free: 0.6484 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001436/0.1237, allocations: 115.1 kB / 370.8 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004483/0.1242, allocations: 251.7 kB / 371 MB, free: 288 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.676e-06/0.1242, allocations: 0 / 371 MB, free: 288 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001879/0.1244, allocations: 148.3 kB / 371.2 MB, free: 140 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006858/0.1251, allocations: 64.25 kB / 371.2 MB, free: 76 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1642/0.2893, allocations: 1.095 MB / 372.3 MB, free: 18.51 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/0.2896, allocations: 0.7685 MB / 373.1 MB, free: 17.8 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001615/0.2898, allocations: 34.81 kB / 373.1 MB, free: 17.8 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.542e-05/0.2899, allocations: 28.28 kB / 373.2 MB, free: 17.79 MB / 302.1 MB Notification: Performance of SimCode: time 8.62e-07/0.2899, allocations: 0 / 373.2 MB, free: 17.79 MB / 302.1 MB Notification: Performance of Templates: time 0.006805/0.2967, allocations: 2.699 MB / 375.9 MB, free: 17.62 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/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_trunk_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches