Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001008/0.001008, allocations: 95.42 kB / 16.94 MB, free: 5.98 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.00156/0.00156, allocations: 182.5 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.406/1.406, allocations: 205.4 MB / 224 MB, free: 13.18 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004442/0.0004443, allocations: 12 kB / 280.7 MB, free: 3.758 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09016/0.09061, allocations: 47.59 MB / 328.3 MB, free: 4.102 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003117/0.09379, allocations: 1.907 MB / 330.2 MB, free: 2.184 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009697/0.09481, allocations: 247.2 kB / 330.5 MB, free: 1.941 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002992/0.09514, allocations: 7.938 kB / 330.5 MB, free: 1.934 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001247/0.09528, allocations: 23.83 kB / 330.5 MB, free: 1.91 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004981/0.09579, allocations: 111.7 kB / 330.6 MB, free: 1.801 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002508/0.09606, allocations: 35.97 kB / 330.7 MB, free: 1.766 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004801/0.09655, allocations: 207.5 kB / 330.9 MB, free: 1.562 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002398/0.0968, allocations: 73.7 kB / 330.9 MB, free: 1.492 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.09698, allocations: 87.69 kB / 331 MB, free: 1.406 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001732/0.09716, allocations: 111.5 kB / 331.1 MB, free: 1.297 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.146e-05/0.09721, allocations: 12 kB / 331.1 MB, free: 1.285 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.418e-05/0.09726, allocations: 15.94 kB / 331.1 MB, free: 1.27 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.37e-05/0.09731, allocations: 35.84 kB / 331.2 MB, free: 1.234 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.306e-05/0.09739, allocations: 77.56 kB / 331.3 MB, free: 1.152 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.09762, allocations: 203.7 kB / 331.5 MB, free: 0.9531 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.09763, allocations: 0 / 331.5 MB, free: 0.9531 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.09764, allocations: 0 / 331.5 MB, free: 0.9531 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.09765, allocations: 4 kB / 331.5 MB, free: 0.9492 MB / 270.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.0007141/0.09837, allocations: 0.5028 MB / 332 MB, free: 408 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.09842, allocations: 8.031 kB / 332 MB, free: 400 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.588e-05/0.0985, allocations: 27.72 kB / 332 MB, free: 372 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003179/0.09883, allocations: 243.2 kB / 332.2 MB, free: 84 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.09886, allocations: 24.52 kB / 332.3 MB, free: 60 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.744e-05/0.09892, allocations: 24 kB / 332.3 MB, free: 36 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005416/0.09947, allocations: 239.4 kB / 332.5 MB, free: 15.79 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.947e-05/0.09951, allocations: 4 kB / 332.5 MB, free: 15.78 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.892e-05/0.09954, allocations: 8 kB / 332.5 MB, free: 15.77 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.09956, allocations: 7.984 kB / 332.5 MB, free: 15.77 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002899/0.09986, allocations: 155.9 kB / 332.7 MB, free: 15.61 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/0.101, allocations: 0.8049 MB / 333.5 MB, free: 14.75 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004528/0.1015, allocations: 287.7 kB / 333.8 MB, free: 14.44 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.1015, allocations: 4 kB / 333.8 MB, free: 14.44 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.847e-05/0.1016, allocations: 38.56 kB / 333.8 MB, free: 14.39 MB / 286.1 MB Notification: Performance of pre-optimization done (n=33): time 1.914e-06/0.1016, allocations: 3.938 kB / 333.8 MB, free: 14.39 MB / 286.1 MB Notification: Performance of matching and sorting (n=45): time 0.002568/0.1042, allocations: 1.952 MB / 335.8 MB, free: 12.18 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.322e-05/0.1042, allocations: 110.8 kB / 335.9 MB, free: 12.04 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.1044, allocations: 186.6 kB / 336.1 MB, free: 11.84 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.1044, allocations: 41.64 kB / 336.1 MB, free: 11.8 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.558e-05/0.1045, allocations: 144.7 kB / 336.2 MB, free: 11.65 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/0.1047, allocations: 157.7 kB / 336.4 MB, free: 11.49 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.457e-05/0.1047, allocations: 8 kB / 336.4 MB, free: 11.48 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.1048, allocations: 338.8 kB / 336.7 MB, free: 11.14 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.105, allocations: 84.84 kB / 336.8 MB, free: 11.06 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000195/0.1052, allocations: 166.2 kB / 337 MB, free: 10.88 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.1054, allocations: 115.9 kB / 337.1 MB, free: 10.76 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1054, allocations: 0 / 337.1 MB, free: 10.76 MB / 286.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004968/0.1059, allocations: 337 kB / 337.4 MB, free: 10.43 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.1059, allocations: 4 kB / 337.4 MB, free: 10.42 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.1059, allocations: 4 kB / 337.4 MB, free: 10.42 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.1059, allocations: 12.03 kB / 337.4 MB, free: 10.41 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003266/0.1063, allocations: 87.89 kB / 337.5 MB, free: 10.32 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.1063, allocations: 7.938 kB / 337.5 MB, free: 10.31 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.1064, allocations: 12 kB / 337.6 MB, free: 10.3 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.356e-05/0.1064, allocations: 16 kB / 337.6 MB, free: 10.29 MB / 286.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.0001573/0.1066, allocations: 149.7 kB / 337.7 MB, free: 10.13 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.434e-05/0.1067, allocations: 27.72 kB / 337.7 MB, free: 10.1 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.503e-05/0.1068, allocations: 37.86 kB / 337.8 MB, free: 10.07 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.1068, allocations: 8 kB / 337.8 MB, free: 10.06 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/0.1068, allocations: 4 kB / 337.8 MB, free: 10.05 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.1068, allocations: 4.922 kB / 337.8 MB, free: 10.05 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001357/0.1082, allocations: 1.043 MB / 338.8 MB, free: 8.922 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.1082, allocations: 4 kB / 338.8 MB, free: 8.918 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003718/0.1086, allocations: 96.17 kB / 338.9 MB, free: 8.824 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.886e-06/0.1086, allocations: 8.047 kB / 338.9 MB, free: 8.816 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.1086, allocations: 15.88 kB / 339 MB, free: 8.801 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/0.1086, allocations: 7.984 kB / 339 MB, free: 8.793 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.1086, allocations: 7.938 kB / 339 MB, free: 8.785 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00088/0.1095, allocations: 0.8371 MB / 339.8 MB, free: 7.836 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.045e-05/0.1096, allocations: 112.8 kB / 339.9 MB, free: 7.707 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.089e-05/0.1097, allocations: 12 kB / 339.9 MB, free: 7.695 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/0.1099, allocations: 11.95 kB / 339.9 MB, free: 7.684 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.753e-05/0.1099, allocations: 27.97 kB / 340 MB, free: 7.656 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.368e-05/0.11, allocations: 23.92 kB / 340 MB, free: 7.633 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001017/0.1101, allocations: 128.5 kB / 340.1 MB, free: 7.508 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1101, allocations: 0 / 340.1 MB, free: 7.508 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004274/0.1105, allocations: 76 kB / 340.2 MB, free: 7.434 MB / 286.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.0001303/0.1106, allocations: 119.1 kB / 340.3 MB, free: 7.309 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003952/0.111, allocations: 259.7 kB / 340.6 MB, free: 7.055 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1111, allocations: 0 / 340.6 MB, free: 7.055 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001902/0.1113, allocations: 144.5 kB / 340.7 MB, free: 6.914 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000527/0.1118, allocations: 59.17 kB / 340.8 MB, free: 6.859 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.1133, allocations: 1.093 MB / 341.9 MB, free: 5.703 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003947/0.1137, allocations: 0.7802 MB / 342.6 MB, free: 4.895 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001255/0.1138, allocations: 38.95 kB / 342.7 MB, free: 4.859 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.537e-05/0.1139, allocations: 27.44 kB / 342.7 MB, free: 4.832 MB / 286.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1139, allocations: 0 / 342.7 MB, free: 4.832 MB / 286.1 MB Notification: Performance of Templates: time 0.005759/0.1196, allocations: 2.644 MB / 345.3 MB, free: 2.191 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches