Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.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.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001115/0.001115, allocations: 200.7 kB / 18.11 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 226.5 MB / 245.4 MB, free: 6.465 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007301/0.0007301, allocations: 96.78 kB / 297.5 MB, free: 6.672 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002163/0.0002164, allocations: 4 kB / 358.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.2076, allocations: 51.28 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0913/0.299, allocations: 78.99 MB / 488.4 MB, free: 12.53 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001946/0.2992, allocations: 73.17 kB / 488.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.011/0.3102, allocations: 3.995 MB / 492.4 MB, free: 8.453 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3103, allocations: 0 / 492.4 MB, free: 8.453 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.076e-05/0.3103, allocations: 4 kB / 492.4 MB, free: 8.449 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007015/0.311, allocations: 0.4917 MB / 492.9 MB, free: 7.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.311, allocations: 12.03 kB / 492.9 MB, free: 7.898 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002442/0.3113, allocations: 48.62 kB / 493 MB, free: 7.852 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.3116, allocations: 240.4 kB / 493.2 MB, free: 7.574 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.3116, allocations: 12.81 kB / 493.2 MB, free: 7.562 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.779e-05/0.3117, allocations: 20.38 kB / 493.2 MB, free: 7.543 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004417/0.3121, allocations: 222.5 kB / 493.5 MB, free: 7.312 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.3122, allocations: 0 / 493.5 MB, free: 7.312 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.565e-05/0.3122, allocations: 11.98 kB / 493.5 MB, free: 7.301 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.3122, allocations: 8 kB / 493.5 MB, free: 7.293 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003376/0.3126, allocations: 147.9 kB / 493.6 MB, free: 7.148 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.3137, allocations: 0.8027 MB / 494.4 MB, free: 6.281 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003831/0.3141, allocations: 201 kB / 494.6 MB, free: 6.066 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002142/0.3144, allocations: 109.7 kB / 494.7 MB, free: 5.953 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.3144, allocations: 0 / 494.7 MB, free: 5.953 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.3144, allocations: 42.5 kB / 494.8 MB, free: 5.902 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.243e-06/0.3144, allocations: 0 / 494.8 MB, free: 5.902 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.001532/0.316, allocations: 0.875 MB / 495.7 MB, free: 4.938 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.316, allocations: 88.94 kB / 495.7 MB, free: 4.832 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.3162, allocations: 175.4 kB / 495.9 MB, free: 4.648 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.3162, allocations: 29.7 kB / 495.9 MB, free: 4.613 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.317e-05/0.3163, allocations: 140.4 kB / 496.1 MB, free: 4.473 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.731e-05/0.3164, allocations: 94.64 kB / 496.2 MB, free: 4.379 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.043e-05/0.3164, allocations: 4 kB / 496.2 MB, free: 4.375 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.3165, allocations: 330.8 kB / 496.5 MB, free: 4.043 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/0.3166, allocations: 67.97 kB / 496.6 MB, free: 3.977 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.3168, allocations: 108.2 kB / 496.7 MB, free: 3.855 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003235/0.3171, allocations: 202.7 kB / 496.9 MB, free: 3.645 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.3172, allocations: 0 / 496.9 MB, free: 3.645 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004104/0.3176, allocations: 260.2 kB / 497.1 MB, free: 3.387 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.3176, allocations: 4 kB / 497.1 MB, free: 3.383 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.3176, allocations: 0 / 497.1 MB, free: 3.383 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.3176, allocations: 4 kB / 497.1 MB, free: 3.379 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002447/0.3179, allocations: 63.91 kB / 497.2 MB, free: 3.316 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.3179, allocations: 7.938 kB / 497.2 MB, free: 3.309 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.318, allocations: 12 kB / 497.2 MB, free: 3.297 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.318, allocations: 11.98 kB / 497.2 MB, free: 3.285 MB / 362.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.0001154/0.3182, allocations: 145.7 kB / 497.4 MB, free: 3.133 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.824e-05/0.3182, allocations: 23.72 kB / 497.4 MB, free: 3.109 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.675e-05/0.3183, allocations: 25.88 kB / 497.4 MB, free: 3.086 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.3183, allocations: 0 / 497.4 MB, free: 3.086 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.3183, allocations: 4 kB / 497.4 MB, free: 3.082 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.3183, allocations: 3.984 kB / 497.4 MB, free: 3.078 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008075/0.3191, allocations: 0.5865 MB / 498 MB, free: 2.426 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.3191, allocations: 4 kB / 498 MB, free: 2.422 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002629/0.3194, allocations: 55.91 kB / 498.1 MB, free: 2.367 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.3194, allocations: 4 kB / 498.1 MB, free: 2.363 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.3195, allocations: 8.094 kB / 498.1 MB, free: 2.355 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.3195, allocations: 4 kB / 498.1 MB, free: 2.352 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.3195, allocations: 7.938 kB / 498.1 MB, free: 2.344 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000662/0.3201, allocations: 0.4969 MB / 498.6 MB, free: 1.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.787e-05/0.3202, allocations: 96.83 kB / 498.7 MB, free: 1.707 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.191e-05/0.3202, allocations: 8 kB / 498.7 MB, free: 1.699 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.3204, allocations: 12.03 kB / 498.7 MB, free: 1.688 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.19e-05/0.3205, allocations: 23.92 kB / 498.7 MB, free: 1.664 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.3205, allocations: 11.94 kB / 498.7 MB, free: 1.652 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.821e-05/0.3206, allocations: 136.3 kB / 498.9 MB, free: 1.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3206, allocations: 0 / 498.9 MB, free: 1.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003335/0.321, allocations: 52 kB / 498.9 MB, free: 1.469 MB / 362.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.0001417/0.3211, allocations: 103.2 kB / 499 MB, free: 1.359 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003685/0.3215, allocations: 191.7 kB / 499.2 MB, free: 1.172 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3215, allocations: 0 / 499.2 MB, free: 1.172 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001914/0.3217, allocations: 100.2 kB / 499.3 MB, free: 1.074 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005199/0.3222, allocations: 46.77 kB / 499.3 MB, free: 1.031 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.3234, allocations: 0.8336 MB / 0.4885 GB, free: 156 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.3238, allocations: 0.7517 MB / 0.4892 GB, free: 15.38 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001054/0.3239, allocations: 17.95 kB / 0.4892 GB, free: 15.36 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.057e-05/0.324, allocations: 19.44 kB / 0.4892 GB, free: 15.34 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.324, allocations: 4 kB / 0.4892 GB, free: 15.34 MB / 378.7 MB Notification: Performance of Templates: time 0.00455/0.3285, allocations: 1.832 MB / 0.491 GB, free: 13.53 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches