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.001704/0.001704, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001921/0.001921, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.507/1.507, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 71.97 kB / 307 MB, free: 0.5859 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09775/0.09969, allocations: 50.54 MB / 357.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003664/0.1034, allocations: 2.428 MB / 360 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004598/0.1039, allocations: 243.1 kB / 360.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.104, allocations: 4 kB / 360.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001421/0.1041, allocations: 43.52 kB / 360.2 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001496/0.1043, allocations: 87.27 kB / 360.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001719/0.1045, allocations: 55.94 kB / 360.4 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003045/0.1048, allocations: 298.5 kB / 360.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001986/0.105, allocations: 101.7 kB / 360.8 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.1051, allocations: 103.7 kB / 360.9 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001602/0.1053, allocations: 115.5 kB / 361 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.117e-05/0.1053, allocations: 27.94 kB / 361 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.002e-05/0.1054, allocations: 20 kB / 361 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.575e-05/0.1055, allocations: 59.77 kB / 361.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001303/0.1056, allocations: 127.4 kB / 361.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002923/0.1059, allocations: 287.2 kB / 361.5 MB, free: 10.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1059, allocations: 4 kB / 361.5 MB, free: 10.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1059, allocations: 0 / 361.5 MB, free: 10.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.1059, allocations: 0 / 361.5 MB, free: 10.05 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.0007794/0.1067, allocations: 0.5342 MB / 362 MB, free: 9.465 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.1068, allocations: 8.031 kB / 362 MB, free: 9.457 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.872e-05/0.1068, allocations: 36.56 kB / 362.1 MB, free: 9.422 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002654/0.1071, allocations: 246.2 kB / 362.3 MB, free: 9.141 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.1071, allocations: 16.94 kB / 362.3 MB, free: 9.125 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.11e-05/0.1072, allocations: 28.28 kB / 362.4 MB, free: 9.098 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004037/0.1076, allocations: 244 kB / 362.6 MB, free: 8.844 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.1076, allocations: 4.188 kB / 362.6 MB, free: 8.84 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.376e-05/0.1076, allocations: 11.94 kB / 362.6 MB, free: 8.828 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.574e-05/0.1077, allocations: 8 kB / 362.6 MB, free: 8.82 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002779/0.108, allocations: 159.9 kB / 362.8 MB, free: 8.664 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.109, allocations: 0.7967 MB / 363.6 MB, free: 7.809 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005485/0.1096, allocations: 299.6 kB / 363.9 MB, free: 7.488 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002386/0.1098, allocations: 134.5 kB / 364 MB, free: 7.348 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.1099, allocations: 7.984 kB / 364 MB, free: 7.34 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.1099, allocations: 38.5 kB / 364.1 MB, free: 7.293 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 1.432e-06/0.1099, allocations: 0 / 364.1 MB, free: 7.293 MB / 302.1 MB Notification: Performance of matching and sorting (n=45): time 0.002801/0.1127, allocations: 1.944 MB / 366 MB, free: 5.086 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.978e-05/0.1128, allocations: 110.8 kB / 366.1 MB, free: 4.953 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.113, allocations: 190.6 kB / 366.3 MB, free: 4.75 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.113, allocations: 29.7 kB / 366.3 MB, free: 4.715 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.153e-05/0.1131, allocations: 136.8 kB / 366.5 MB, free: 4.574 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.1133, allocations: 165.6 kB / 366.6 MB, free: 4.41 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.1134, allocations: 70.14 kB / 366.7 MB, free: 4.336 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.1136, allocations: 342.8 kB / 367 MB, free: 3.992 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/0.1137, allocations: 92.84 kB / 367.1 MB, free: 3.902 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/0.1139, allocations: 158.3 kB / 367.3 MB, free: 3.723 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003999/0.1144, allocations: 275.8 kB / 367.5 MB, free: 3.438 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1144, allocations: 0 / 367.5 MB, free: 3.438 MB / 302.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000516/0.1149, allocations: 341.2 kB / 367.9 MB, free: 3.098 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.1149, allocations: 7.938 kB / 367.9 MB, free: 3.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.1149, allocations: 4 kB / 367.9 MB, free: 3.086 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.1149, allocations: 4 kB / 367.9 MB, free: 3.082 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003523/0.1153, allocations: 95.83 kB / 368 MB, free: 2.988 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.1153, allocations: 8.094 kB / 368 MB, free: 2.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.1154, allocations: 8 kB / 368 MB, free: 2.973 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.34e-05/0.1155, allocations: 16 kB / 368 MB, free: 2.957 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.0001447/0.1156, allocations: 153.7 kB / 368.2 MB, free: 2.797 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.054e-05/0.1157, allocations: 31.66 kB / 368.2 MB, free: 2.766 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.428e-05/0.1158, allocations: 37.86 kB / 368.2 MB, free: 2.73 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.1158, allocations: 4 kB / 368.2 MB, free: 2.727 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1158, allocations: 0 / 368.2 MB, free: 2.727 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.1158, allocations: 12.03 kB / 368.2 MB, free: 2.715 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001438/0.1173, allocations: 1.054 MB / 369.3 MB, free: 1.578 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.1173, allocations: 4 kB / 369.3 MB, free: 1.574 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003819/0.1177, allocations: 92.11 kB / 369.4 MB, free: 1.484 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.578e-06/0.1177, allocations: 11.94 kB / 369.4 MB, free: 1.473 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/0.1178, allocations: 12 kB / 369.4 MB, free: 1.461 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.1178, allocations: 4 kB / 369.4 MB, free: 1.457 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.1178, allocations: 4 kB / 369.4 MB, free: 1.453 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007908/0.1186, allocations: 0.7134 MB / 370.1 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.408e-05/0.1187, allocations: 100.9 kB / 370.2 MB, free: 0.582 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.317e-05/0.1187, allocations: 19.94 kB / 370.2 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/0.1189, allocations: 12 kB / 370.3 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.001e-05/0.119, allocations: 31.89 kB / 370.3 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.115e-05/0.119, allocations: 16 kB / 370.3 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001271/0.1192, allocations: 140.9 kB / 370.4 MB, free: 376 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1192, allocations: 0 / 370.4 MB, free: 376 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004407/0.1196, allocations: 75.94 kB / 370.5 MB, free: 300 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.0001328/0.1198, allocations: 123.1 kB / 370.6 MB, free: 168 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.1405/0.2602, allocations: 278.3 kB / 370.9 MB, free: 20.16 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/0.2603, allocations: 0.9062 kB / 370.9 MB, free: 20.16 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002776/0.2606, allocations: 148.1 kB / 371.1 MB, free: 20.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009468/0.2615, allocations: 65.55 kB / 371.1 MB, free: 20.16 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.2629, allocations: 0.9172 MB / 372 MB, free: 19.65 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002286/0.2632, allocations: 0.7677 MB / 372.8 MB, free: 18.95 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001325/0.2633, allocations: 35.53 kB / 372.8 MB, free: 18.94 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.962e-05/0.2634, allocations: 31.72 kB / 372.9 MB, free: 18.93 MB / 302.1 MB Notification: Performance of SimCode: time 8.91e-07/0.2634, allocations: 0 / 372.9 MB, free: 18.93 MB / 302.1 MB Notification: Performance of Templates: time 0.007328/0.2707, allocations: 2.979 MB / 375.9 MB, free: 18.75 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.1.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