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.0008583/0.0008584, allocations: 95.94 kB / 16.3 MB, free: 5.992 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.0008706/0.0008707, allocations: 182.8 kB / 17.19 MB, free: 5.906 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.268/1.268, allocations: 223.2 MB / 241.1 MB, free: 5.359 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002372/0.0002373, allocations: 6.281 kB / 300.7 MB, free: 6.023 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.083/0.08325, allocations: 50.42 MB / 351.1 MB, free: 11.7 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.001957/0.08524, allocations: 1.917 MB / 353 MB, free: 9.77 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003962/0.08565, allocations: 259.2 kB / 353.3 MB, free: 9.516 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.67e-05/0.08576, allocations: 7.938 kB / 353.3 MB, free: 9.508 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.123e-05/0.08582, allocations: 27.77 kB / 353.3 MB, free: 9.48 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001705/0.086, allocations: 103.7 kB / 353.4 MB, free: 9.379 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001273/0.08613, allocations: 43.89 kB / 353.5 MB, free: 9.336 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002147/0.08635, allocations: 199.6 kB / 353.7 MB, free: 9.141 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.08651, allocations: 77.62 kB / 353.7 MB, free: 9.062 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.052e-05/0.0866, allocations: 91.66 kB / 353.8 MB, free: 8.973 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.08673, allocations: 103.5 kB / 353.9 MB, free: 8.871 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.774e-05/0.08677, allocations: 12 kB / 354 MB, free: 8.859 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.124e-05/0.08681, allocations: 12 kB / 354 MB, free: 8.848 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.607e-05/0.08685, allocations: 39.84 kB / 354 MB, free: 8.809 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.156e-05/0.0869, allocations: 69.58 kB / 354.1 MB, free: 8.734 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001708/0.08708, allocations: 203.4 kB / 354.3 MB, free: 8.535 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.08709, allocations: 4 kB / 354.3 MB, free: 8.531 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.08709, allocations: 0 / 354.3 MB, free: 8.531 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.08711, allocations: 0 / 354.3 MB, free: 8.531 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.0006146/0.08772, allocations: 0.5067 MB / 354.8 MB, free: 7.977 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.08776, allocations: 8.031 kB / 354.8 MB, free: 7.969 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.132e-05/0.08783, allocations: 35.58 kB / 354.8 MB, free: 7.934 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000237/0.08807, allocations: 231.4 kB / 355 MB, free: 7.664 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/0.08811, allocations: 24.56 kB / 355.1 MB, free: 7.641 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.234e-05/0.08816, allocations: 27.94 kB / 355.1 MB, free: 7.613 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003457/0.08851, allocations: 235.5 kB / 355.3 MB, free: 7.371 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.08853, allocations: 7.844 kB / 355.3 MB, free: 7.363 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.252e-05/0.08856, allocations: 12 kB / 355.3 MB, free: 7.352 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.08858, allocations: 7.953 kB / 355.4 MB, free: 7.344 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000251/0.08883, allocations: 155.8 kB / 355.5 MB, free: 7.191 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000947/0.08979, allocations: 0.8126 MB / 356.3 MB, free: 6.32 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004437/0.09024, allocations: 287.7 kB / 356.6 MB, free: 6.012 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.09027, allocations: 4 kB / 356.6 MB, free: 6.008 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.0903, allocations: 46.5 kB / 356.7 MB, free: 5.953 MB / 286.1 MB Notification: Performance of pre-optimization done (n=33): time 1.533e-06/0.09031, allocations: 224 / 356.7 MB, free: 5.953 MB / 286.1 MB Notification: Performance of matching and sorting (n=45): time 0.002294/0.0926, allocations: 1.941 MB / 358.6 MB, free: 3.75 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/0.09267, allocations: 110.8 kB / 358.7 MB, free: 3.617 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.09283, allocations: 185.2 kB / 358.9 MB, free: 3.422 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.09286, allocations: 33.7 kB / 358.9 MB, free: 3.383 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.364e-05/0.09294, allocations: 144.7 kB / 359.1 MB, free: 3.23 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.588e-05/0.09304, allocations: 157.7 kB / 359.2 MB, free: 3.074 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.338e-05/0.09306, allocations: 8 kB / 359.2 MB, free: 3.066 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.09318, allocations: 342.8 kB / 359.6 MB, free: 2.723 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.09332, allocations: 88.84 kB / 359.6 MB, free: 2.633 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001706/0.09349, allocations: 154.3 kB / 359.8 MB, free: 2.465 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.09366, allocations: 117.1 kB / 359.9 MB, free: 2.355 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.09367, allocations: 0 / 359.9 MB, free: 2.355 MB / 286.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004335/0.09411, allocations: 342.2 kB / 360.2 MB, free: 2.016 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.09413, allocations: 8 kB / 360.2 MB, free: 2.008 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.09414, allocations: 0 / 360.2 MB, free: 2.008 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.09416, allocations: 12.05 kB / 360.3 MB, free: 1.996 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003251/0.09449, allocations: 103.8 kB / 360.4 MB, free: 1.895 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.09451, allocations: 0 / 360.4 MB, free: 1.895 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.09462, allocations: 12 kB / 360.4 MB, free: 1.883 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/0.09464, allocations: 12 kB / 360.4 MB, free: 1.871 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.0001189/0.09477, allocations: 149.7 kB / 360.5 MB, free: 1.715 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.782e-05/0.09485, allocations: 35.56 kB / 360.6 MB, free: 1.68 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.617e-05/0.09492, allocations: 37.86 kB / 360.6 MB, free: 1.648 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.09493, allocations: 4 kB / 360.6 MB, free: 1.645 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.09495, allocations: 11.95 kB / 360.6 MB, free: 1.633 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.09496, allocations: 3.984 kB / 360.6 MB, free: 1.629 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.09612, allocations: 1.043 MB / 361.7 MB, free: 0.5 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.09613, allocations: 0 / 361.7 MB, free: 0.5 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003563/0.09649, allocations: 92.17 kB / 361.8 MB, free: 420 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.09651, allocations: 8 kB / 361.8 MB, free: 412 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/0.09654, allocations: 12 kB / 361.8 MB, free: 400 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-06/0.09655, allocations: 11.94 kB / 361.8 MB, free: 388 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.09655, allocations: 0 / 361.8 MB, free: 388 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007339/0.09729, allocations: 0.8602 MB / 362.6 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.04e-05/0.09736, allocations: 100.8 kB / 362.7 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.642e-05/0.09741, allocations: 12.06 kB / 362.8 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/0.09762, allocations: 12 kB / 362.8 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.552e-05/0.09767, allocations: 35.86 kB / 362.8 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.819e-05/0.0977, allocations: 16 kB / 362.8 MB, free: 15.21 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.967e-05/0.09779, allocations: 135.3 kB / 362.9 MB, free: 15.08 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.0978, allocations: 4 kB / 363 MB, free: 15.08 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004054/0.09821, allocations: 72 kB / 363 MB, free: 15.01 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 9.975e-05/0.09832, allocations: 113.4 kB / 363.1 MB, free: 14.89 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003801/0.0987, allocations: 265.9 kB / 363.4 MB, free: 14.63 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.09871, allocations: 0 / 363.4 MB, free: 14.63 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001783/0.09889, allocations: 148.3 kB / 363.5 MB, free: 14.48 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004602/0.09936, allocations: 56.16 kB / 363.6 MB, free: 14.43 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.1006, allocations: 1.092 MB / 364.7 MB, free: 13.28 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.1009, allocations: 0.7725 MB / 365.5 MB, free: 12.48 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001033/0.101, allocations: 30.95 kB / 365.5 MB, free: 12.45 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.085e-05/0.1011, allocations: 31.44 kB / 365.5 MB, free: 12.42 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1011, allocations: 0 / 365.5 MB, free: 12.42 MB / 302.1 MB Notification: Performance of Templates: time 0.005056/0.1062, allocations: 2.657 MB / 368.2 MB, free: 9.789 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches