Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.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.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator") translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001525/0.001525, allocations: 183.8 kB / 18.04 MB, free: 3.781 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.444/1.444, allocations: 205.4 MB / 224.2 MB, free: 9.027 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.0007652/0.0007652, allocations: 89.83 kB / 272.5 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002893/0.0002894, allocations: 8 kB / 329.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2011, allocations: 47.58 MB / 377 MB, free: 45.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08249/0.2836, allocations: 77.22 MB / 454.2 MB, free: 3.32 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002267/0.2839, allocations: 67.97 kB / 454.3 MB, free: 3.254 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01081/0.2947, allocations: 3.806 MB / 458.1 MB, free: 15.44 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2948, allocations: 0 / 458.1 MB, free: 15.44 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.948e-05/0.2948, allocations: 4 kB / 458.1 MB, free: 15.44 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007853/0.2956, allocations: 499.1 kB / 458.6 MB, free: 14.9 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.2956, allocations: 8.031 kB / 458.6 MB, free: 14.89 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.025e-05/0.2957, allocations: 24.66 kB / 458.6 MB, free: 14.87 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.296, allocations: 240.5 kB / 458.9 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.296, allocations: 20.81 kB / 458.9 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.707e-05/0.2961, allocations: 16.38 kB / 458.9 MB, free: 14.55 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003892/0.2965, allocations: 225.2 kB / 459.1 MB, free: 14.32 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.2965, allocations: 3.984 kB / 459.1 MB, free: 14.32 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.582e-05/0.2965, allocations: 8 kB / 459.1 MB, free: 14.31 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.2965, allocations: 4 kB / 459.1 MB, free: 14.31 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003123/0.2968, allocations: 151.9 kB / 459.3 MB, free: 14.16 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/0.298, allocations: 0.7999 MB / 460.1 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003964/0.2984, allocations: 197 kB / 460.3 MB, free: 13.08 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002212/0.2987, allocations: 109.7 kB / 460.4 MB, free: 12.97 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.2987, allocations: 7.938 kB / 460.4 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.2987, allocations: 38.5 kB / 460.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 1.674e-06/0.2987, allocations: 0 / 460.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=26): time 0.001604/0.3003, allocations: 0.8823 MB / 461.3 MB, free: 11.94 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.594e-05/0.3004, allocations: 85.09 kB / 461.4 MB, free: 11.84 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.3006, allocations: 174.5 kB / 461.6 MB, free: 11.66 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.3006, allocations: 37.64 kB / 461.6 MB, free: 11.62 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.228e-05/0.3007, allocations: 132.4 kB / 461.7 MB, free: 11.48 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.711e-05/0.3008, allocations: 94.66 kB / 461.8 MB, free: 11.39 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.008e-05/0.3008, allocations: 7.938 kB / 461.8 MB, free: 11.38 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.3009, allocations: 330.8 kB / 462.2 MB, free: 11.05 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.301, allocations: 75.95 kB / 462.2 MB, free: 10.98 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/0.3012, allocations: 116.2 kB / 462.3 MB, free: 10.85 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003248/0.3016, allocations: 194.7 kB / 462.5 MB, free: 10.64 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3016, allocations: 0 / 462.5 MB, free: 10.64 MB / 346.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004289/0.302, allocations: 253.2 kB / 462.8 MB, free: 10.39 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.302, allocations: 4 kB / 462.8 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.302, allocations: 4 kB / 462.8 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.3021, allocations: 3.938 kB / 462.8 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002537/0.3023, allocations: 63.97 kB / 462.9 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.3023, allocations: 8.031 kB / 462.9 MB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.3025, allocations: 15.94 kB / 462.9 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.3025, allocations: 11.98 kB / 462.9 MB, free: 10.28 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (32): * Single equations (assignments): 32 * 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.0001177/0.3026, allocations: 138.2 kB / 463 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.296e-05/0.3027, allocations: 23.72 kB / 463.1 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.296e-05/0.3028, allocations: 25.88 kB / 463.1 MB, free: 10.09 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.3028, allocations: 4 kB / 463.1 MB, free: 10.09 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.3028, allocations: 3.984 kB / 463.1 MB, free: 10.09 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.3028, allocations: 4 kB / 463.1 MB, free: 10.08 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009088/0.3037, allocations: 0.5904 MB / 463.7 MB, free: 9.426 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.3037, allocations: 4.094 kB / 463.7 MB, free: 9.422 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002855/0.304, allocations: 63.91 kB / 463.7 MB, free: 9.359 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.304, allocations: 0 / 463.7 MB, free: 9.359 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.3041, allocations: 8 kB / 463.8 MB, free: 9.352 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.3041, allocations: 0 / 463.8 MB, free: 9.352 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.3041, allocations: 7.938 kB / 463.8 MB, free: 9.344 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006672/0.3048, allocations: 0.4996 MB / 464.3 MB, free: 8.82 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.098e-05/0.3048, allocations: 100.8 kB / 464.4 MB, free: 8.703 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.389e-05/0.3049, allocations: 8 kB / 464.4 MB, free: 8.695 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.3051, allocations: 12.03 kB / 464.4 MB, free: 8.684 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.974e-05/0.3051, allocations: 19.92 kB / 464.4 MB, free: 8.664 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.3051, allocations: 4 kB / 464.4 MB, free: 8.66 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001055/0.3053, allocations: 136.3 kB / 464.5 MB, free: 8.527 MB / 346.7 MB Notification: Performance of sort global known variables: time 2e-07/0.3053, allocations: 3.938 kB / 464.5 MB, free: 8.523 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003402/0.3056, allocations: 52 kB / 464.6 MB, free: 8.473 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (mass1.s,mass1.v,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 (26): * Single equations (assignments): 26 * 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.0001173/0.3057, allocations: 107.2 kB / 464.7 MB, free: 8.355 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003765/0.3061, allocations: 180.7 kB / 464.9 MB, free: 8.18 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3061, allocations: 0 / 464.9 MB, free: 8.18 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001774/0.3063, allocations: 111.8 kB / 465 MB, free: 8.074 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005376/0.3069, allocations: 31.98 kB / 465 MB, free: 8.043 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.3081, allocations: 0.8339 MB / 465.8 MB, free: 7.168 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.3084, allocations: 0.7517 MB / 466.6 MB, free: 6.391 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001055/0.3085, allocations: 21.95 kB / 466.6 MB, free: 6.371 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.284e-05/0.3086, allocations: 19.44 kB / 466.6 MB, free: 6.352 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3086, allocations: 0 / 466.6 MB, free: 6.352 MB / 346.7 MB Notification: Performance of Templates: time 0.004916/0.3135, allocations: 1.829 MB / 468.5 MB, free: 4.535 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches