Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 180.7 kB / 16.39 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 93.86 kB / 291.5 MB, free: 10.89 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002458/0.0002459, allocations: 11.94 kB / 351.1 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2198, allocations: 50.4 MB / 401.5 MB, free: 32.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09555/0.3154, allocations: 78.24 MB / 479.7 MB, free: 2.223 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/0.3157, allocations: 67.97 kB / 479.8 MB, free: 2.156 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01031/0.326, allocations: 3.922 MB / 483.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.326, allocations: 4 kB / 483.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.413e-05/0.3261, allocations: 4 kB / 483.7 MB, free: 14.22 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.0006337/0.3267, allocations: 0.491 MB / 484.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.3268, allocations: 12.03 kB / 484.2 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.688e-05/0.3268, allocations: 23.72 kB / 484.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.3271, allocations: 225 kB / 484.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.3271, allocations: 12.44 kB / 484.5 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.12e-05/0.3271, allocations: 28 kB / 484.5 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003865/0.3275, allocations: 209.8 kB / 484.7 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.3276, allocations: 11.88 kB / 484.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/0.3276, allocations: 12 kB / 484.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.3276, allocations: 4 kB / 484.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003319/0.3279, allocations: 160.4 kB / 484.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001087/0.329, allocations: 0.8086 MB / 485.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003778/0.3294, allocations: 197 kB / 485.9 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.3295, allocations: 0 / 485.9 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.3295, allocations: 42.56 kB / 485.9 MB, free: 11.81 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.423e-06/0.3295, allocations: 0 / 485.9 MB, free: 11.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.001482/0.331, allocations: 0.8895 MB / 486.8 MB, free: 10.83 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.331, allocations: 85.09 kB / 486.9 MB, free: 10.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.3312, allocations: 154.8 kB / 487.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.3312, allocations: 25.7 kB / 487.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.862e-05/0.3313, allocations: 148.3 kB / 487.2 MB, free: 10.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.064e-05/0.3313, allocations: 94.59 kB / 487.3 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.011e-05/0.3314, allocations: 4 kB / 487.3 MB, free: 10.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.3315, allocations: 330.8 kB / 487.7 MB, free: 9.961 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.3316, allocations: 71.95 kB / 487.7 MB, free: 9.891 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001679/0.3318, allocations: 108.8 kB / 487.8 MB, free: 9.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.332, allocations: 86.84 kB / 487.9 MB, free: 9.688 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.332, allocations: 0 / 487.9 MB, free: 9.688 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004057/0.3324, allocations: 249.2 kB / 488.2 MB, free: 9.438 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.3324, allocations: 11.94 kB / 488.2 MB, free: 9.426 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3324, allocations: 0 / 488.2 MB, free: 9.426 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.3325, allocations: 4 kB / 488.2 MB, free: 9.422 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002565/0.3327, allocations: 63.89 kB / 488.2 MB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.3327, allocations: 4 kB / 488.2 MB, free: 9.355 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.3329, allocations: 16.09 kB / 488.3 MB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.88e-05/0.3329, allocations: 8 kB / 488.3 MB, free: 9.332 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.0001338/0.333, allocations: 141.7 kB / 488.4 MB, free: 9.184 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.884e-05/0.3331, allocations: 19.8 kB / 488.4 MB, free: 9.164 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.77e-05/0.3332, allocations: 25.88 kB / 488.5 MB, free: 9.141 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.3332, allocations: 4 kB / 488.5 MB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.3332, allocations: 0 / 488.5 MB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.3332, allocations: 7.984 kB / 488.5 MB, free: 9.129 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008297/0.334, allocations: 0.5818 MB / 489 MB, free: 8.484 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.334, allocations: 4 kB / 489 MB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000291/0.3343, allocations: 63.98 kB / 489.1 MB, free: 8.418 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.3344, allocations: 7.938 kB / 489.1 MB, free: 8.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/0.3344, allocations: 8 kB / 489.1 MB, free: 8.402 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.3344, allocations: 0 / 489.1 MB, free: 8.402 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.3344, allocations: 7.891 kB / 489.1 MB, free: 8.395 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006971/0.3351, allocations: 0.5389 MB / 489.7 MB, free: 7.805 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.16e-05/0.3352, allocations: 96.86 kB / 489.8 MB, free: 7.691 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.428e-05/0.3352, allocations: 12.03 kB / 489.8 MB, free: 7.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.3354, allocations: 8 kB / 489.8 MB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.417e-05/0.3355, allocations: 23.91 kB / 489.8 MB, free: 7.648 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.3355, allocations: 4 kB / 489.8 MB, free: 7.645 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00011/0.3356, allocations: 136.3 kB / 489.9 MB, free: 7.512 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3356, allocations: 0 / 489.9 MB, free: 7.512 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003835/0.336, allocations: 52 kB / 490 MB, free: 7.461 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.0001475/0.3361, allocations: 111.7 kB / 490.1 MB, free: 7.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003844/0.3365, allocations: 191.9 kB / 490.3 MB, free: 7.152 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3365, allocations: 0 / 490.3 MB, free: 7.152 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001735/0.3367, allocations: 95.84 kB / 490.4 MB, free: 7.059 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.3371, allocations: 43.16 kB / 490.4 MB, free: 7.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.3382, allocations: 0.8377 MB / 491.3 MB, free: 6.141 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.3385, allocations: 0.7481 MB / 492 MB, free: 5.367 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.916e-05/0.3386, allocations: 21.95 kB / 492 MB, free: 5.348 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.935e-05/0.3387, allocations: 19.44 kB / 492.1 MB, free: 5.328 MB / 362.7 MB Notification: Performance of SimCode: time 2.916e-06/0.3387, allocations: 0 / 492.1 MB, free: 5.328 MB / 362.7 MB Notification: Performance of Templates: time 0.004259/0.3429, allocations: 1.793 MB / 493.9 MB, free: 3.555 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches