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.0008655/0.0008657, allocations: 96.14 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009191/0.0009191, allocations: 201 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002205/0.0002205, allocations: 11.98 kB / 306.6 MB, free: 1.43 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1178, allocations: 51.49 MB / 358.1 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003992/0.1219, allocations: 1.927 MB / 360 MB, free: 12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007363/0.1227, allocations: 263.2 kB / 360.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001447/0.1228, allocations: 7.938 kB / 360.3 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.063e-05/0.1229, allocations: 27.77 kB / 360.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003035/0.1233, allocations: 91.78 kB / 360.4 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002342/0.1235, allocations: 51.89 kB / 360.4 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003941/0.1239, allocations: 199.6 kB / 360.6 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002591/0.1242, allocations: 77.59 kB / 360.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000148/0.1244, allocations: 87.7 kB / 360.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002444/0.1246, allocations: 103.5 kB / 360.9 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.862e-05/0.1247, allocations: 12 kB / 360.9 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.13e-05/0.1248, allocations: 20 kB / 360.9 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.634e-05/0.1248, allocations: 35.84 kB / 360.9 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.819e-05/0.1249, allocations: 73.58 kB / 361 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003357/0.1253, allocations: 207.6 kB / 361.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1253, allocations: 0 / 361.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1253, allocations: 0 / 361.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1253, allocations: 0 / 361.2 MB, free: 10.77 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.001131/0.1265, allocations: 0.5054 MB / 361.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.1266, allocations: 12.03 kB / 361.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.329e-05/0.1267, allocations: 27.62 kB / 361.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004154/0.1271, allocations: 235.4 kB / 362 MB, free: 9.902 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/0.1271, allocations: 16.56 kB / 362 MB, free: 9.887 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.629e-05/0.1272, allocations: 27.94 kB / 362 MB, free: 9.859 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000642/0.1279, allocations: 251.3 kB / 362.3 MB, free: 9.598 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.423e-05/0.1279, allocations: 3.906 kB / 362.3 MB, free: 9.594 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.308e-05/0.128, allocations: 12 kB / 362.3 MB, free: 9.582 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.128, allocations: 4 kB / 362.3 MB, free: 9.578 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005061/0.1285, allocations: 155.8 kB / 362.5 MB, free: 9.426 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001741/0.1303, allocations: 0.8125 MB / 363.3 MB, free: 8.555 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008837/0.1312, allocations: 283.8 kB / 363.5 MB, free: 8.25 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.021e-05/0.1313, allocations: 4 kB / 363.5 MB, free: 8.246 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.794e-05/0.1313, allocations: 38.5 kB / 363.6 MB, free: 8.199 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 3.266e-06/0.1313, allocations: 4 kB / 363.6 MB, free: 8.195 MB / 302.1 MB Notification: Performance of matching and sorting (n=45): time 0.004763/0.1361, allocations: 1.944 MB / 365.5 MB, free: 5.992 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.1362, allocations: 114.7 kB / 365.6 MB, free: 5.855 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000316/0.1366, allocations: 188.1 kB / 365.8 MB, free: 5.656 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.574e-05/0.1366, allocations: 33.7 kB / 365.9 MB, free: 5.617 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.1368, allocations: 136.8 kB / 366 MB, free: 5.477 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002116/0.137, allocations: 161.6 kB / 366.1 MB, free: 5.316 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.724e-05/0.1371, allocations: 8 kB / 366.2 MB, free: 5.309 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002072/0.1373, allocations: 346.8 kB / 366.5 MB, free: 4.961 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002782/0.1376, allocations: 84.84 kB / 366.6 MB, free: 4.879 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003789/0.138, allocations: 150.4 kB / 366.7 MB, free: 4.707 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003688/0.1384, allocations: 130.2 kB / 366.9 MB, free: 4.582 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.1384, allocations: 4 kB / 366.9 MB, free: 4.578 MB / 302.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009363/0.1394, allocations: 337 kB / 367.2 MB, free: 4.242 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.1394, allocations: 4 kB / 367.2 MB, free: 4.238 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.1394, allocations: 4 kB / 367.2 MB, free: 4.234 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.606e-05/0.1395, allocations: 4 kB / 367.2 MB, free: 4.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006613/0.1401, allocations: 95.83 kB / 367.3 MB, free: 4.137 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.381e-05/0.1402, allocations: 4 kB / 367.3 MB, free: 4.133 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002074/0.1404, allocations: 8.141 kB / 367.3 MB, free: 4.125 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.059e-05/0.1405, allocations: 23.98 kB / 367.3 MB, free: 4.102 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.000211/0.1407, allocations: 145.8 kB / 367.5 MB, free: 3.949 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001497/0.1408, allocations: 35.58 kB / 367.5 MB, free: 3.914 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/0.141, allocations: 37.86 kB / 367.5 MB, free: 3.879 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.141, allocations: 4 kB / 367.5 MB, free: 3.875 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.141, allocations: 4 kB / 367.5 MB, free: 3.871 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/0.141, allocations: 4 kB / 367.6 MB, free: 3.867 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002427/0.1435, allocations: 1.05 MB / 368.6 MB, free: 2.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/0.1435, allocations: 4 kB / 368.6 MB, free: 2.727 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007582/0.1443, allocations: 91.89 kB / 368.7 MB, free: 2.637 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.285e-05/0.1443, allocations: 4 kB / 368.7 MB, free: 2.633 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.156e-05/0.1444, allocations: 15.95 kB / 368.7 MB, free: 2.617 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-05/0.1444, allocations: 8.219 kB / 368.7 MB, free: 2.609 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/0.1444, allocations: 8 kB / 368.7 MB, free: 2.602 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/0.1459, allocations: 0.8524 MB / 369.6 MB, free: 1.641 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.146, allocations: 108.9 kB / 369.7 MB, free: 1.516 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.927e-05/0.1461, allocations: 8 kB / 369.7 MB, free: 1.508 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004335/0.1465, allocations: 12 kB / 369.7 MB, free: 1.496 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.504e-05/0.1466, allocations: 39.86 kB / 369.7 MB, free: 1.457 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.136e-05/0.1467, allocations: 16 kB / 369.8 MB, free: 1.441 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001906/0.1469, allocations: 135.3 kB / 369.9 MB, free: 1.309 MB / 302.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.1469, allocations: 0 / 369.9 MB, free: 1.309 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008126/0.1477, allocations: 72 kB / 370 MB, free: 1.238 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.0002189/0.148, allocations: 115.1 kB / 370.1 MB, free: 1.117 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008169/0.1488, allocations: 266.3 kB / 370.3 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.1488, allocations: 3.938 kB / 370.3 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003646/0.1492, allocations: 143.7 kB / 370.5 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008522/0.1501, allocations: 65.84 kB / 370.5 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.236/0.3861, allocations: 1.08 MB / 371.6 MB, free: 19.27 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.3865, allocations: 0.7744 MB / 372.4 MB, free: 18.57 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002192/0.3867, allocations: 34.89 kB / 372.4 MB, free: 18.57 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.786e-05/0.3868, allocations: 27.31 kB / 372.5 MB, free: 18.56 MB / 302.1 MB Notification: Performance of SimCode: time 1.573e-06/0.3868, allocations: 8.531 kB / 372.5 MB, free: 18.56 MB / 302.1 MB Notification: Performance of Templates: time 0.008777/0.3956, allocations: 2.636 MB / 375.1 MB, free: 18.45 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","../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches