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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001808/0.001808, allocations: 109.5 kB / 20.43 MB, free: 1.449 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002248/0.002248, allocations: 189.7 kB / 23.72 MB, free: 4.68 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.1 MB
"
[Timeout remaining time 178]
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)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001597/0.001597, allocations: 47.92 kB / 370.9 MB, free: 9.488 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2753, allocations: 52.19 MB / 423.1 MB, free: 14.72 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003906/0.2792, allocations: 2.449 MB / 425.6 MB, free: 12.26 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001075/0.2803, allocations: 0.5882 MB / 426.1 MB, free: 11.66 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.2804, allocations: 7.938 kB / 426.2 MB, free: 11.66 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001644/0.2806, allocations: 35.64 kB / 426.2 MB, free: 11.62 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.000147/0.2807, allocations: 67.36 kB / 426.3 MB, free: 11.55 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002536/0.281, allocations: 63.91 kB / 426.3 MB, free: 11.49 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003283/0.2813, allocations: 250.8 kB / 426.6 MB, free: 11.25 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001902/0.2815, allocations: 73.64 kB / 426.6 MB, free: 11.17 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.2817, allocations: 107.6 kB / 426.7 MB, free: 11.07 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001668/0.2818, allocations: 107.5 kB / 426.8 MB, free: 10.96 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.941e-05/0.2819, allocations: 20 kB / 426.9 MB, free: 10.94 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 4.138e-05/0.2819, allocations: 20 kB / 426.9 MB, free: 10.92 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 5.507e-05/0.282, allocations: 43.84 kB / 426.9 MB, free: 10.88 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.2821, allocations: 115.4 kB / 427 MB, free: 10.77 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003444/0.2825, allocations: 268.1 kB / 427.3 MB, free: 10.51 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.2825, allocations: 0 / 427.3 MB, free: 10.51 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.683e-06/0.2825, allocations: 0 / 427.3 MB, free: 10.51 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 7.474e-06/0.2825, allocations: 0 / 427.3 MB, free: 10.51 MB / 334.1 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.0008495/0.2833, allocations: 461.6 kB / 427.8 MB, free: 10.03 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.2834, allocations: 8.031 kB / 427.8 MB, free: 10.02 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.233e-05/0.2834, allocations: 32.75 kB / 427.8 MB, free: 9.992 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003373/0.2838, allocations: 174.8 kB / 428 MB, free: 9.793 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.2838, allocations: 16.81 kB / 428 MB, free: 9.777 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.794e-05/0.2838, allocations: 28.33 kB / 428 MB, free: 9.75 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004499/0.2843, allocations: 213.3 kB / 428.2 MB, free: 9.527 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.2843, allocations: 3.984 kB / 428.2 MB, free: 9.523 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.828e-05/0.2843, allocations: 12 kB / 428.2 MB, free: 9.512 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.2843, allocations: 8 kB / 428.2 MB, free: 9.504 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003432/0.2847, allocations: 143.8 kB / 428.4 MB, free: 9.363 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001265/0.2859, allocations: 0.7434 MB / 429.1 MB, free: 8.559 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004277/0.2864, allocations: 185 kB / 429.3 MB, free: 8.359 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002505/0.2866, allocations: 101.8 kB / 429.4 MB, free: 8.254 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.2866, allocations: 0 / 429.4 MB, free: 8.254 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.2867, allocations: 50.61 kB / 429.5 MB, free: 8.195 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=22): time 1.072e-06/0.2867, allocations: 0 / 429.5 MB, free: 8.195 MB / 334.1 MB
Notification: Performance of matching and sorting (n=26): time 0.001613/0.2883, allocations: 0.716 MB / 430.2 MB, free: 7.43 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.469e-05/0.2883, allocations: 81.11 kB / 430.2 MB, free: 7.332 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.2885, allocations: 179.1 kB / 430.4 MB, free: 7.148 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.2885, allocations: 29.7 kB / 430.5 MB, free: 7.113 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 9.757e-05/0.2886, allocations: 140.5 kB / 430.6 MB, free: 6.973 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 8.438e-05/0.2887, allocations: 103.2 kB / 430.7 MB, free: 6.871 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 8.668e-05/0.2888, allocations: 49.64 kB / 430.7 MB, free: 6.816 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001529/0.289, allocations: 330.8 kB / 431.1 MB, free: 6.484 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.2891, allocations: 67.95 kB / 431.1 MB, free: 6.418 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001911/0.2893, allocations: 108.2 kB / 431.2 MB, free: 6.297 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003543/0.2897, allocations: 184.2 kB / 431.4 MB, free: 6.102 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.2897, allocations: 4 kB / 431.4 MB, free: 6.098 MB / 334.1 MB
Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004578/0.2901, allocations: 247.8 kB / 431.7 MB, free: 5.852 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.2902, allocations: 8 kB / 431.7 MB, free: 5.844 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.2902, allocations: 0 / 431.7 MB, free: 5.844 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.2902, allocations: 4 kB / 431.7 MB, free: 5.84 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000271/0.2904, allocations: 64 kB / 431.7 MB, free: 5.777 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.2905, allocations: 4 kB / 431.7 MB, free: 5.773 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001257/0.2906, allocations: 27.86 kB / 431.8 MB, free: 5.746 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.129e-05/0.2906, allocations: 12 kB / 431.8 MB, free: 5.734 MB / 334.1 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 (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 0.0001311/0.2907, allocations: 141.7 kB / 431.9 MB, free: 5.586 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.572e-05/0.2908, allocations: 15.91 kB / 431.9 MB, free: 5.57 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.256e-05/0.2909, allocations: 29.8 kB / 432 MB, free: 5.543 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.2909, allocations: 4 kB / 432 MB, free: 5.539 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.2909, allocations: 4 kB / 432 MB, free: 5.535 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.2909, allocations: 0 / 432 MB, free: 5.535 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008729/0.2918, allocations: 0.5466 MB / 432.5 MB, free: 4.93 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.2918, allocations: 4 kB / 432.5 MB, free: 4.926 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002969/0.2921, allocations: 64 kB / 432.6 MB, free: 4.863 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.2921, allocations: 4 kB / 432.6 MB, free: 4.859 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.2921, allocations: 7.984 kB / 432.6 MB, free: 4.852 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.2921, allocations: 4 kB / 432.6 MB, free: 4.848 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.2921, allocations: 3.938 kB / 432.6 MB, free: 4.844 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007117/0.2928, allocations: 497 kB / 433.1 MB, free: 4.332 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 3.213e-05/0.2928, allocations: 15.86 kB / 433.1 MB, free: 4.316 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.667e-05/0.2929, allocations: 8 kB / 433.1 MB, free: 4.309 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.2931, allocations: 12.03 kB / 433.1 MB, free: 4.297 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.437e-05/0.2931, allocations: 23.84 kB / 433.1 MB, free: 4.273 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.2931, allocations: 12 kB / 433.2 MB, free: 4.262 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 0.0001109/0.2932, allocations: 132.4 kB / 433.3 MB, free: 4.133 MB / 334.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.2932, allocations: 7.875 kB / 433.3 MB, free: 4.125 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0003475/0.2936, allocations: 48 kB / 433.3 MB, free: 4.078 MB / 334.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 5
 * Number of states: 4 (damper1.s_rel,damper1.v_rel,mass1.s,mass1.v)
 * 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 (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001245/0.2937, allocations: 103.7 kB / 433.4 MB, free: 3.965 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.0004251/0.2941, allocations: 167.8 kB / 433.6 MB, free: 3.801 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.2941, allocations: 8.188 kB / 433.6 MB, free: 3.793 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001919/0.2943, allocations: 87.84 kB / 433.7 MB, free: 3.707 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005027/0.2948, allocations: 48.59 kB / 433.7 MB, free: 3.66 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.2961, allocations: 0.6884 MB / 434.4 MB, free: 2.93 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003837/0.2965, allocations: 0.748 MB / 435.2 MB, free: 2.156 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 9.66e-05/0.2966, allocations: 25.94 kB / 435.2 MB, free: 2.133 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.43e-05/0.2966, allocations: 23.44 kB / 435.2 MB, free: 2.109 MB / 334.1 MB
Notification: Performance of SimCode: time 3.31e-07/0.2966, allocations: 0 / 435.2 MB, free: 2.109 MB / 334.1 MB
Notification: Performance of Templates: time 0.005939/0.3026, allocations: 2.195 MB / 437.4 MB, free: 15.93 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.makefile [Timeout 660]
(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) [Timeout 480]
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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660]
""
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 4.58147482201457]