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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001051/0.001056, allocations: 182 kB / 18.04 MB, free: 3.758 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.363/1.363, allocations: 205.4 MB / 224.2 MB, free: 9.047 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007454/0.0007455, allocations: 93.36 kB / 272.5 MB, free: 8.285 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003465/0.0003466, allocations: 12 kB / 329.4 MB, free: 15.31 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2185, allocations: 47.57 MB / 377 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08462/0.3031, allocations: 76.2 MB / 453.2 MB, free: 4.383 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002072/0.3034, allocations: 67.95 kB / 453.3 MB, free: 4.316 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01113/0.3146, allocations: 4.161 MB / 457.4 MB, free: 144 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3146, allocations: 0 / 457.4 MB, free: 144 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.508e-05/0.3147, allocations: 4 kB / 457.4 MB, free: 140 kB / 330.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.0006934/0.3154, allocations: 0.4915 MB / 457.9 MB, free: 15.59 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.3154, allocations: 12.02 kB / 458 MB, free: 15.58 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.011e-05/0.3155, allocations: 28.66 kB / 458 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002478/0.3157, allocations: 236.6 kB / 458.2 MB, free: 15.28 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.3158, allocations: 16.94 kB / 458.2 MB, free: 15.26 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.457e-05/0.3158, allocations: 28.28 kB / 458.3 MB, free: 15.23 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003796/0.3162, allocations: 244 kB / 458.5 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.3162, allocations: 192 / 458.5 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.727e-05/0.3163, allocations: 15.94 kB / 458.5 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.3163, allocations: 4 kB / 458.5 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002778/0.3166, allocations: 159.8 kB / 458.7 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.3177, allocations: 0.8126 MB / 459.5 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000472/0.3182, allocations: 289 kB / 459.8 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002385/0.3184, allocations: 134.7 kB / 459.9 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.3184, allocations: 4 kB / 459.9 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.3185, allocations: 42.56 kB / 459.9 MB, free: 13.43 MB / 346.7 MB Notification: Performance of pre-optimization done (n=33): time 1.593e-06/0.3185, allocations: 224 / 459.9 MB, free: 13.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=45): time 0.002621/0.3211, allocations: 1.953 MB / 461.9 MB, free: 11.21 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.3212, allocations: 110.8 kB / 462 MB, free: 11.08 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.3214, allocations: 195 kB / 462.2 MB, free: 10.88 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.3214, allocations: 29.7 kB / 462.2 MB, free: 10.84 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.253e-05/0.3215, allocations: 144.5 kB / 462.4 MB, free: 10.7 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.3216, allocations: 157.6 kB / 462.5 MB, free: 10.55 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.586e-05/0.3216, allocations: 12 kB / 462.5 MB, free: 10.54 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.3218, allocations: 338.8 kB / 462.9 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.3219, allocations: 84.84 kB / 462.9 MB, free: 10.11 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001948/0.3221, allocations: 162.3 kB / 463.1 MB, free: 9.934 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003599/0.3225, allocations: 262.8 kB / 463.4 MB, free: 9.66 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3225, allocations: 4 kB / 463.4 MB, free: 9.656 MB / 346.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005051/0.323, allocations: 345.9 kB / 463.7 MB, free: 9.312 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.323, allocations: 10.44 kB / 463.7 MB, free: 9.305 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.323, allocations: 4 kB / 463.7 MB, free: 9.301 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.3231, allocations: 4 kB / 463.7 MB, free: 9.297 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003353/0.3234, allocations: 91.89 kB / 463.8 MB, free: 9.207 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.168e-06/0.3234, allocations: 4 kB / 463.8 MB, free: 9.203 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.3235, allocations: 12 kB / 463.8 MB, free: 9.191 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/0.3236, allocations: 12 kB / 463.8 MB, free: 9.18 MB / 346.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.0001847/0.3238, allocations: 157.8 kB / 464 MB, free: 9.016 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.3239, allocations: 31.64 kB / 464 MB, free: 8.984 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.234e-05/0.324, allocations: 37.88 kB / 464.1 MB, free: 8.949 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.324, allocations: 4 kB / 464.1 MB, free: 8.945 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.324, allocations: 0 / 464.1 MB, free: 8.945 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.324, allocations: 3.984 kB / 464.1 MB, free: 8.941 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001345/0.3254, allocations: 1.062 MB / 465.1 MB, free: 7.793 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.3254, allocations: 4 kB / 465.1 MB, free: 7.789 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003619/0.3257, allocations: 91.89 kB / 465.2 MB, free: 7.699 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/0.3258, allocations: 7.938 kB / 465.2 MB, free: 7.691 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.347e-05/0.3258, allocations: 8 kB / 465.2 MB, free: 7.684 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.3258, allocations: 4 kB / 465.2 MB, free: 7.68 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.3258, allocations: 12.22 kB / 465.3 MB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007076/0.3265, allocations: 0.7171 MB / 466 MB, free: 6.902 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.004e-05/0.3266, allocations: 100.8 kB / 466.1 MB, free: 6.785 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.377e-05/0.3266, allocations: 12.06 kB / 466.1 MB, free: 6.773 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/0.3269, allocations: 16 kB / 466.1 MB, free: 6.758 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.249e-05/0.3269, allocations: 31.95 kB / 466.1 MB, free: 6.727 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.163e-05/0.3269, allocations: 16 kB / 466.1 MB, free: 6.711 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001055/0.327, allocations: 148.1 kB / 466.3 MB, free: 6.566 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.327, allocations: 0 / 466.3 MB, free: 6.566 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000436/0.3275, allocations: 72 kB / 466.4 MB, free: 6.496 MB / 346.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.0001101/0.3276, allocations: 117.9 kB / 466.5 MB, free: 6.375 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003855/0.328, allocations: 259.7 kB / 466.7 MB, free: 6.121 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.328, allocations: 0 / 466.7 MB, free: 6.121 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.3282, allocations: 147.7 kB / 466.9 MB, free: 5.977 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006639/0.3289, allocations: 61.8 kB / 466.9 MB, free: 5.918 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.3303, allocations: 1.096 MB / 468 MB, free: 4.758 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.3306, allocations: 0.7647 MB / 468.8 MB, free: 3.965 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001482/0.3308, allocations: 38.95 kB / 468.8 MB, free: 3.93 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.98e-05/0.3308, allocations: 27.44 kB / 468.9 MB, free: 3.906 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3308, allocations: 0 / 468.9 MB, free: 3.906 MB / 346.7 MB Notification: Performance of Templates: time 0.005793/0.3366, allocations: 2.731 MB / 471.6 MB, free: 1.195 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.makefile (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) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins1/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