Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.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.001617/0.001617, allocations: 109.5 kB / 20.43 MB, free: 1.457 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.001938/0.001938, allocations: 183.5 kB / 23.71 MB, free: 4.695 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.408/1.408, allocations: 225.6 MB / 252.5 MB, free: 13 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.WhyArrows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows")
translateModel(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 43.92 kB / 370.9 MB, free: 9.352 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2402/0.2417, allocations: 52.18 MB / 423.1 MB, free: 14.66 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003836/0.2456, allocations: 2.277 MB / 425.4 MB, free: 12.38 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0004441/0.246, allocations: 199.2 kB / 425.6 MB, free: 12.18 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 8.76e-05/0.2461, allocations: 4 kB / 425.6 MB, free: 12.18 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 8.789e-05/0.2462, allocations: 39.64 kB / 425.6 MB, free: 12.14 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001492/0.2463, allocations: 67.36 kB / 425.7 MB, free: 12.07 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0001664/0.2465, allocations: 51.92 kB / 425.7 MB, free: 12.02 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002572/0.2468, allocations: 235 kB / 426 MB, free: 11.79 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001871/0.2469, allocations: 83 kB / 426 MB, free: 11.71 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.2471, allocations: 91.72 kB / 426.1 MB, free: 11.62 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.2472, allocations: 99.55 kB / 426.2 MB, free: 11.52 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.817e-05/0.2472, allocations: 28 kB / 426.3 MB, free: 11.5 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 3.908e-05/0.2473, allocations: 20 kB / 426.3 MB, free: 11.48 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 4.851e-05/0.2473, allocations: 43.84 kB / 426.3 MB, free: 11.43 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001219/0.2475, allocations: 119.5 kB / 426.4 MB, free: 11.32 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002919/0.2477, allocations: 248.2 kB / 426.7 MB, free: 11.08 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.2478, allocations: 11.92 kB / 426.7 MB, free: 11.07 MB / 334.1 MB
Notification: Performance of FrontEnd: time 9.91e-07/0.2478, allocations: 0 / 426.7 MB, free: 11.07 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 5.64e-06/0.2478, allocations: 0 / 426.7 MB, free: 11.07 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: 56
 * Number of variables: 56
Notification: Performance of Generate backend data structure: time 0.0007298/0.2485, allocations: 445.8 kB / 427.1 MB, free: 10.6 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.2485, allocations: 8.031 kB / 427.1 MB, free: 10.59 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.866e-05/0.2486, allocations: 24.8 kB / 427.2 MB, free: 10.57 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.2488, allocations: 166.2 kB / 427.3 MB, free: 10.38 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.2488, allocations: 16.86 kB / 427.3 MB, free: 10.36 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.682e-05/0.2489, allocations: 24.38 kB / 427.4 MB, free: 10.34 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004269/0.2493, allocations: 232 kB / 427.6 MB, free: 10.09 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.2493, allocations: 4.188 kB / 427.6 MB, free: 10.09 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.472e-05/0.2493, allocations: 11.94 kB / 427.6 MB, free: 10.08 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.2493, allocations: 4 kB / 427.6 MB, free: 10.07 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002422/0.2496, allocations: 135.8 kB / 427.7 MB, free: 9.941 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001231/0.2508, allocations: 0.821 MB / 428.6 MB, free: 9.062 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002446/0.2511, allocations: 159.7 kB / 428.7 MB, free: 8.879 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 9.265e-05/0.2512, allocations: 54.56 kB / 428.8 MB, free: 8.816 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.2512, allocations: 0 / 428.8 MB, free: 8.816 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.2512, allocations: 42.5 kB / 428.8 MB, free: 8.766 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=17): time 2.775e-06/0.2512, allocations: 3.984 kB / 428.8 MB, free: 8.762 MB / 334.1 MB
Notification: Performance of matching and sorting (n=17): time 0.0003765/0.2516, allocations: 177.7 kB / 429 MB, free: 8.582 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.575e-05/0.2516, allocations: 110.8 kB / 429.1 MB, free: 8.449 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/0.2518, allocations: 195.5 kB / 429.3 MB, free: 8.25 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.2519, allocations: 33.7 kB / 429.3 MB, free: 8.211 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.252, allocations: 152.3 kB / 429.5 MB, free: 8.059 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 5.703e-05/0.252, allocations: 71.41 kB / 429.5 MB, free: 7.988 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.304e-05/0.2521, allocations: 53.95 kB / 429.6 MB, free: 7.926 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001527/0.2523, allocations: 334.8 kB / 429.9 MB, free: 7.59 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.965e-05/0.2524, allocations: 48.55 kB / 430 MB, free: 7.543 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001978/0.2526, allocations: 159.5 kB / 430.1 MB, free: 7.34 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003543/0.2529, allocations: 221.5 kB / 430.3 MB, free: 7.074 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2529, allocations: 0 / 430.3 MB, free: 7.074 MB / 334.1 MB
Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003677/0.2533, allocations: 237.9 kB / 430.6 MB, free: 6.836 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.2533, allocations: 15.38 kB / 430.6 MB, free: 6.824 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.2533, allocations: 7.984 kB / 430.6 MB, free: 6.816 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.2533, allocations: 8.375 kB / 430.6 MB, free: 6.809 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002177/0.2535, allocations: 63.92 kB / 430.7 MB, free: 6.746 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.2536, allocations: 8 kB / 430.7 MB, free: 6.738 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001356/0.2537, allocations: 23.84 kB / 430.7 MB, free: 6.715 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.697e-05/0.2537, allocations: 8 kB / 430.7 MB, free: 6.707 MB / 334.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 16
 * 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 (33):
 * Single equations (assignments): 33
 * 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.0001268/0.2538, allocations: 149.6 kB / 430.9 MB, free: 6.551 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.6e-05/0.2539, allocations: 23.8 kB / 430.9 MB, free: 6.527 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.484e-05/0.254, allocations: 25.41 kB / 430.9 MB, free: 6.504 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.254, allocations: 4 kB / 430.9 MB, free: 6.5 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.254, allocations: 4 kB / 430.9 MB, free: 6.496 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.254, allocations: 7.984 kB / 430.9 MB, free: 6.488 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005726/0.2546, allocations: 395.9 kB / 431.3 MB, free: 6.043 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.2546, allocations: 0 / 431.3 MB, free: 6.043 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002244/0.2548, allocations: 35.98 kB / 431.3 MB, free: 6.008 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2548, allocations: 3.938 kB / 431.3 MB, free: 6.004 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.2548, allocations: 8 kB / 431.4 MB, free: 5.996 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.2548, allocations: 12.08 kB / 431.4 MB, free: 5.984 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.2548, allocations: 3.938 kB / 431.4 MB, free: 5.98 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003982/0.2552, allocations: 369.2 kB / 431.7 MB, free: 5.594 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 3.173e-05/0.2552, allocations: 19.86 kB / 431.7 MB, free: 5.574 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.902e-05/0.2553, allocations: 8 kB / 431.8 MB, free: 5.566 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.2554, allocations: 4 kB / 431.8 MB, free: 5.562 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.711e-05/0.2554, allocations: 23.89 kB / 431.8 MB, free: 5.539 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.2555, allocations: 4 kB / 431.8 MB, free: 5.535 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 0.0001224/0.2556, allocations: 140.4 kB / 431.9 MB, free: 5.398 MB / 334.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.2556, allocations: 0 / 431.9 MB, free: 5.398 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.000373/0.2559, allocations: 55.89 kB / 432 MB, free: 5.344 MB / 334.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 5
 * Number of states: 4 (inertia2.s,inertia2.v,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 (17):
 * Single equations (assignments): 17
 * 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.0001145/0.2561, allocations: 99.25 kB / 432.1 MB, free: 5.234 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002675/0.2563, allocations: 139.6 kB / 432.2 MB, free: 5.098 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2563, allocations: 0 / 432.2 MB, free: 5.098 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.000127/0.2565, allocations: 51.92 kB / 432.3 MB, free: 5.047 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000489/0.2569, allocations: 28.98 kB / 432.3 MB, free: 5.02 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.258, allocations: 0.6073 MB / 432.9 MB, free: 4.375 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000383/0.2584, allocations: 0.732 MB / 433.6 MB, free: 3.617 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 8.248e-05/0.2584, allocations: 25.88 kB / 433.7 MB, free: 3.594 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.662e-05/0.2585, allocations: 19.44 kB / 433.7 MB, free: 3.574 MB / 334.1 MB
Notification: Performance of SimCode: time 3.01e-07/0.2585, allocations: 0 / 433.7 MB, free: 3.574 MB / 334.1 MB
Notification: Performance of Templates: time 0.004989/0.2635, allocations: 1.699 MB / 435.4 MB, free: 1.891 MB / 334.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.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.160947144031525]