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.001715/0.001714, allocations: 180.7 kB / 8.7 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.932/1.932, allocations: 205.3 MB / 214.4 MB, free: 1.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001017/0.001017, allocations: 90.22 kB / 262.5 MB, free: 1.609 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.617e-05/1.62e-05, allocations: 224 / 315.5 MB, free: 22.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1171, allocations: 47.59 MB / 363.1 MB, free: 7.074 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3931/0.5103, allocations: 76.67 MB / 439.7 MB, free: 2.98 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/0.5106, allocations: 70.08 kB / 439.8 MB, free: 2.945 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0106/0.5212, allocations: 3.757 MB / 443.6 MB, free: 15.83 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.5213, allocations: 0 / 443.6 MB, free: 15.83 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.776e-05/0.5213, allocations: 4 kB / 443.6 MB, free: 15.83 MB / 330.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.0007122/0.522, allocations: 488.9 kB / 444 MB, free: 15.32 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/0.5221, allocations: 8.031 kB / 444 MB, free: 15.31 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.022e-05/0.5222, allocations: 23.72 kB / 444.1 MB, free: 15.29 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002818/0.5224, allocations: 229.7 kB / 444.3 MB, free: 15.03 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.5225, allocations: 8 kB / 444.3 MB, free: 15.02 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.115e-05/0.5225, allocations: 15.91 kB / 444.3 MB, free: 15.01 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000248/0.5228, allocations: 109.2 kB / 444.4 MB, free: 14.94 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002916/0.5231, allocations: 177.5 kB / 444.6 MB, free: 14.79 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.5231, allocations: 0 / 444.6 MB, free: 14.79 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.5231, allocations: 0 / 444.6 MB, free: 14.79 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.5231, allocations: 4 kB / 444.6 MB, free: 14.79 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001133/0.5243, allocations: 0.7455 MB / 445.4 MB, free: 14.1 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003133/0.5246, allocations: 177 kB / 445.5 MB, free: 13.96 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001727/0.5248, allocations: 90.2 kB / 445.6 MB, free: 13.89 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.5248, allocations: 8.156 kB / 445.6 MB, free: 13.88 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.5249, allocations: 38.48 kB / 445.7 MB, free: 13.84 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 1.362e-06/0.5249, allocations: 0 / 445.7 MB, free: 13.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.001152/0.526, allocations: 0.7164 MB / 446.4 MB, free: 13.11 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/0.5261, allocations: 81.11 kB / 446.5 MB, free: 13.01 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.5262, allocations: 146.7 kB / 446.6 MB, free: 12.88 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.5262, allocations: 25.7 kB / 446.6 MB, free: 12.84 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.306e-05/0.5263, allocations: 143.9 kB / 446.8 MB, free: 12.72 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.85e-05/0.5264, allocations: 90.09 kB / 446.8 MB, free: 12.64 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.949e-06/0.5264, allocations: 7.109 kB / 446.9 MB, free: 12.64 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.5266, allocations: 329.5 kB / 447.2 MB, free: 12.31 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.889e-05/0.5267, allocations: 50.42 kB / 447.2 MB, free: 12.28 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.5268, allocations: 92.09 kB / 447.3 MB, free: 12.2 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.5269, allocations: 60.25 kB / 447.4 MB, free: 12.16 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.5269, allocations: 0 / 447.4 MB, free: 12.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002831/0.5272, allocations: 196.6 kB / 447.6 MB, free: 12 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.5272, allocations: 4 kB / 447.6 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.5272, allocations: 8.094 kB / 447.6 MB, free: 11.99 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.5273, allocations: 0 / 447.6 MB, free: 11.99 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002806/0.5275, allocations: 67.89 kB / 447.6 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.5276, allocations: 7.891 kB / 447.7 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.5277, allocations: 11.91 kB / 447.7 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.5277, allocations: 11.38 kB / 447.7 MB, free: 11.9 MB / 330.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 () * 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 9.921e-05/0.5278, allocations: 101.9 kB / 447.8 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.564e-05/0.5279, allocations: 23.75 kB / 447.8 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.929e-05/0.5279, allocations: 27.14 kB / 447.8 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.528, allocations: 4 kB / 447.8 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.528, allocations: 0 / 447.8 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/0.528, allocations: 3.953 kB / 447.8 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007289/0.5287, allocations: 0.5169 MB / 448.4 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.5287, allocations: 0 / 448.4 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002686/0.529, allocations: 59.53 kB / 448.4 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-06/0.529, allocations: 4 kB / 448.4 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/0.5291, allocations: 7.938 kB / 448.4 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.5291, allocations: 4 kB / 448.4 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.5291, allocations: 3.938 kB / 448.4 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005151/0.5296, allocations: 484.7 kB / 448.9 MB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.886e-05/0.5297, allocations: 100.8 kB / 449 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.145e-05/0.5297, allocations: 4 kB / 449 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.5299, allocations: 4 kB / 449 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.905e-05/0.5299, allocations: 23.86 kB / 449 MB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.53, allocations: 10.94 kB / 449 MB, free: 10.57 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.459e-05/0.53, allocations: 109.9 kB / 449.1 MB, free: 10.48 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5301, allocations: 0 / 449.1 MB, free: 10.48 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003221/0.5304, allocations: 40 kB / 449.2 MB, free: 10.44 MB / 330.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 () * 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.0001457/0.5305, allocations: 107.2 kB / 449.3 MB, free: 10.32 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002627/0.5308, allocations: 140.2 kB / 449.4 MB, free: 10.23 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.5308, allocations: 4 kB / 449.4 MB, free: 10.22 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.5309, allocations: 83.3 kB / 449.5 MB, free: 10.16 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003854/0.5313, allocations: 27.62 kB / 449.5 MB, free: 10.14 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000956/0.5323, allocations: 0.5292 MB / 450.1 MB, free: 9.609 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.5327, allocations: 0.7518 MB / 450.8 MB, free: 8.832 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.153e-05/0.5328, allocations: 18.08 kB / 450.8 MB, free: 8.816 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.946e-05/0.5328, allocations: 19.44 kB / 450.9 MB, free: 8.797 MB / 330.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5328, allocations: 0 / 450.9 MB, free: 8.797 MB / 330.7 MB Notification: Performance of Templates: time 0.004587/0.5374, allocations: 1.673 MB / 452.5 MB, free: 7.141 MB / 330.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/jenkins/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