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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001144/0.001144, allocations: 197.2 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.301/1.301, allocations: 226.5 MB / 245.4 MB, free: 6.516 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008129/0.0008131, allocations: 97.5 kB / 297.5 MB, free: 6.676 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002964/0.0002965, allocations: 8 kB / 358.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2032/0.2035, allocations: 51.29 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08745/0.291, allocations: 78.1 MB / 487.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001827/0.2912, allocations: 63.97 kB / 487.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.011/0.3022, allocations: 4.278 MB / 491.8 MB, free: 9.078 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3023, allocations: 0 / 491.8 MB, free: 9.078 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.729e-05/0.3023, allocations: 8 kB / 491.8 MB, free: 9.07 MB / 362.7 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.0006836/0.303, allocations: 0.4916 MB / 492.3 MB, free: 8.523 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.303, allocations: 8.031 kB / 492.3 MB, free: 8.516 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.405e-05/0.3031, allocations: 32.56 kB / 492.3 MB, free: 8.484 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002817/0.3034, allocations: 240.6 kB / 492.6 MB, free: 8.207 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.3034, allocations: 12.94 kB / 492.6 MB, free: 8.195 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.884e-05/0.3035, allocations: 32.72 kB / 492.6 MB, free: 8.164 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003774/0.3039, allocations: 240 kB / 492.9 MB, free: 7.918 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.3039, allocations: 192 / 492.9 MB, free: 7.918 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.611e-05/0.3039, allocations: 15.94 kB / 492.9 MB, free: 7.902 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.3039, allocations: 11.88 kB / 492.9 MB, free: 7.891 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000281/0.3042, allocations: 163.8 kB / 493.1 MB, free: 7.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.3053, allocations: 0.8124 MB / 493.9 MB, free: 6.859 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004729/0.3057, allocations: 291.6 kB / 494.1 MB, free: 6.547 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002178/0.306, allocations: 130.5 kB / 494.3 MB, free: 6.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.306, allocations: 8.125 kB / 494.3 MB, free: 6.402 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.306, allocations: 38.72 kB / 494.3 MB, free: 6.355 MB / 362.7 MB Notification: Performance of pre-optimization done (n=33): time 2.164e-06/0.306, allocations: 0 / 494.3 MB, free: 6.355 MB / 362.7 MB Notification: Performance of matching and sorting (n=45): time 0.002493/0.3085, allocations: 1.951 MB / 496.3 MB, free: 4.145 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/0.3086, allocations: 106.8 kB / 496.4 MB, free: 4.016 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.3088, allocations: 195.9 kB / 496.6 MB, free: 3.809 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.3088, allocations: 33.7 kB / 496.6 MB, free: 3.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.05e-05/0.3089, allocations: 128.8 kB / 496.7 MB, free: 3.641 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.309, allocations: 169.6 kB / 496.9 MB, free: 3.473 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.399e-05/0.309, allocations: 4 kB / 496.9 MB, free: 3.469 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.3092, allocations: 342.8 kB / 497.2 MB, free: 3.125 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.3093, allocations: 88.83 kB / 497.3 MB, free: 3.039 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001781/0.3095, allocations: 154.3 kB / 497.5 MB, free: 2.863 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00035/0.3098, allocations: 276.9 kB / 497.7 MB, free: 2.574 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3099, allocations: 3.938 kB / 497.7 MB, free: 2.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004823/0.3103, allocations: 348.4 kB / 498.1 MB, free: 2.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.3104, allocations: 7.938 kB / 498.1 MB, free: 2.223 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.3104, allocations: 4 kB / 498.1 MB, free: 2.219 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.3104, allocations: 4 kB / 498.1 MB, free: 2.215 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003176/0.3107, allocations: 95.98 kB / 498.2 MB, free: 2.121 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.3108, allocations: 4 kB / 498.2 MB, free: 2.117 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.3109, allocations: 8 kB / 498.2 MB, free: 2.109 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.077e-05/0.3109, allocations: 16 kB / 498.2 MB, free: 2.094 MB / 362.7 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.0001372/0.311, allocations: 149.7 kB / 498.4 MB, free: 1.938 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.413e-05/0.3111, allocations: 31.66 kB / 498.4 MB, free: 1.906 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.167e-05/0.3112, allocations: 37.86 kB / 498.4 MB, free: 1.867 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.3112, allocations: 4 kB / 498.4 MB, free: 1.863 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.3112, allocations: 0 / 498.4 MB, free: 1.863 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.3112, allocations: 8 kB / 498.4 MB, free: 1.855 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001293/0.3125, allocations: 1.058 MB / 499.5 MB, free: 0.7109 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.3126, allocations: 288 / 499.5 MB, free: 0.7109 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003511/0.3129, allocations: 91.91 kB / 499.6 MB, free: 0.6211 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/0.3129, allocations: 7.938 kB / 499.6 MB, free: 0.6133 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.153e-05/0.313, allocations: 8 kB / 499.6 MB, free: 0.6055 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.473e-06/0.313, allocations: 11.98 kB / 499.6 MB, free: 0.5938 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.313, allocations: 3.938 kB / 499.6 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006843/0.3137, allocations: 0.7094 MB / 0.4886 GB, free: 15.83 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.457e-05/0.3137, allocations: 112.8 kB / 0.4887 GB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.713e-05/0.3138, allocations: 12 kB / 0.4887 GB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002006/0.314, allocations: 12 kB / 0.4887 GB, free: 15.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.267e-05/0.314, allocations: 23.97 kB / 0.4888 GB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.3141, allocations: 19.94 kB / 0.4888 GB, free: 15.64 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.929e-05/0.3142, allocations: 140.4 kB / 0.4889 GB, free: 15.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3142, allocations: 0 / 0.4889 GB, free: 15.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004101/0.3146, allocations: 80 kB / 0.489 GB, free: 15.42 MB / 378.7 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,damper1.s_rel,damper1.v_rel,damper2.s_rel,damper2.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.00013/0.3147, allocations: 123 kB / 0.4891 GB, free: 15.29 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003899/0.3151, allocations: 255.9 kB / 0.4894 GB, free: 15.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3151, allocations: 0 / 0.4894 GB, free: 15.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001768/0.3153, allocations: 152.2 kB / 0.4895 GB, free: 14.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00069/0.316, allocations: 63.33 kB / 0.4896 GB, free: 14.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.3174, allocations: 1.092 MB / 0.4906 GB, free: 13.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/0.3177, allocations: 0.7724 MB / 0.4914 GB, free: 12.89 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001277/0.3179, allocations: 34.95 kB / 0.4914 GB, free: 12.86 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.069e-05/0.3179, allocations: 27.44 kB / 0.4914 GB, free: 12.83 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3179, allocations: 0 / 0.4914 GB, free: 12.83 MB / 378.7 MB Notification: Performance of Templates: time 0.005689/0.3236, allocations: 2.718 MB / 0.4941 GB, free: 10.14 MB / 378.7 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/jenkins1/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