Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001835/0.001835, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002368/0.002368, allocations: 212.4 kB / 24.54 MB, free: 4.016 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 230.3 MB / 258 MB, free: 8.27 MB / 206.1 MB
"
[Timeout remaining time 178]
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)
Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 71.88 kB / 378.7 MB, free: 2.91 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2609, allocations: 53.36 MB / 432.1 MB, free: 7.141 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003749/0.2647, allocations: 2.282 MB / 434.4 MB, free: 4.852 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0005036/0.2652, allocations: 203.3 kB / 434.6 MB, free: 4.652 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.2653, allocations: 4 kB / 434.6 MB, free: 4.648 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 8.623e-05/0.2654, allocations: 39.58 kB / 434.6 MB, free: 4.609 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001696/0.2655, allocations: 67.36 kB / 434.7 MB, free: 4.543 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.000179/0.2657, allocations: 55.92 kB / 434.7 MB, free: 4.488 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002984/0.266, allocations: 231 kB / 435 MB, free: 4.262 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002034/0.2662, allocations: 83.02 kB / 435.1 MB, free: 4.18 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001883/0.2664, allocations: 87.72 kB / 435.1 MB, free: 4.094 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/0.2666, allocations: 99.55 kB / 435.2 MB, free: 3.996 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 4.296e-05/0.2666, allocations: 24 kB / 435.3 MB, free: 3.973 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 4.282e-05/0.2667, allocations: 20 kB / 435.3 MB, free: 3.953 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.452e-05/0.2667, allocations: 55.83 kB / 435.3 MB, free: 3.898 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.2668, allocations: 111.5 kB / 435.4 MB, free: 3.789 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003105/0.2671, allocations: 256.6 kB / 435.7 MB, free: 3.543 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2672, allocations: 0 / 435.7 MB, free: 3.543 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.362e-06/0.2672, allocations: 0 / 435.7 MB, free: 3.543 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 6.171e-06/0.2672, allocations: 3.938 kB / 435.7 MB, free: 3.539 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.0007601/0.2679, allocations: 445.8 kB / 436.1 MB, free: 3.07 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.268, allocations: 8.031 kB / 436.1 MB, free: 3.062 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.786e-05/0.268, allocations: 28.78 kB / 436.2 MB, free: 3.035 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.2683, allocations: 165.7 kB / 436.3 MB, free: 2.852 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.2683, allocations: 20.88 kB / 436.4 MB, free: 2.832 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.463e-05/0.2683, allocations: 28.33 kB / 436.4 MB, free: 2.805 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000489/0.2688, allocations: 228 kB / 436.6 MB, free: 2.562 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.2688, allocations: 4.188 kB / 436.6 MB, free: 2.559 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.309e-05/0.2689, allocations: 11.94 kB / 436.6 MB, free: 2.547 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.2689, allocations: 8 kB / 436.6 MB, free: 2.539 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002442/0.2691, allocations: 131.9 kB / 436.8 MB, free: 2.41 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/0.2703, allocations: 0.8211 MB / 437.6 MB, free: 1.531 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002529/0.2706, allocations: 151.7 kB / 437.7 MB, free: 1.355 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 9.951e-05/0.2707, allocations: 58.56 kB / 437.8 MB, free: 1.289 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.2707, allocations: 4 kB / 437.8 MB, free: 1.285 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.2707, allocations: 42.5 kB / 437.8 MB, free: 1.234 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=17): time 1.432e-06/0.2707, allocations: 3.938 kB / 437.8 MB, free: 1.23 MB / 334.1 MB
Notification: Performance of matching and sorting (n=17): time 0.0003921/0.2711, allocations: 173.7 kB / 438 MB, free: 1.055 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.63e-05/0.2712, allocations: 106.8 kB / 438.1 MB, free: 0.9258 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002184/0.2714, allocations: 200.4 kB / 438.3 MB, free: 0.7227 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.2714, allocations: 25.7 kB / 438.3 MB, free: 0.6914 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.2716, allocations: 164.2 kB / 438.5 MB, free: 0.5273 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 6.101e-05/0.2716, allocations: 67.45 kB / 438.6 MB, free: 472 kB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 8.838e-05/0.2717, allocations: 57.94 kB / 438.6 MB, free: 404 kB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.000157/0.2719, allocations: 322.8 kB / 438.9 MB, free: 72 kB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.173e-05/0.272, allocations: 48.55 kB / 439 MB, free: 24 kB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002008/0.2722, allocations: 162.8 kB / 439.1 MB, free: 15.81 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002982/0.2724, allocations: 217.5 kB / 439.3 MB, free: 15.55 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2725, allocations: 0 / 439.3 MB, free: 15.55 MB / 350.1 MB
Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004117/0.2729, allocations: 242.2 kB / 439.6 MB, free: 15.31 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.2729, allocations: 11.97 kB / 439.6 MB, free: 15.3 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.2729, allocations: 4 kB / 439.6 MB, free: 15.3 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.594e-05/0.2729, allocations: 12 kB / 439.6 MB, free: 15.29 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/0.2731, allocations: 63.86 kB / 439.7 MB, free: 15.22 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.2732, allocations: 8.141 kB / 439.7 MB, free: 15.21 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.2733, allocations: 31.73 kB / 439.7 MB, free: 15.18 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/0.2733, allocations: 15.98 kB / 439.7 MB, free: 15.17 MB / 350.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.0001378/0.2735, allocations: 137.7 kB / 439.9 MB, free: 15.02 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.894e-05/0.2735, allocations: 27.84 kB / 439.9 MB, free: 15 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.888e-05/0.2736, allocations: 25.39 kB / 439.9 MB, free: 14.97 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.2736, allocations: 0 / 439.9 MB, free: 14.97 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.2736, allocations: 7.938 kB / 439.9 MB, free: 14.96 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.2736, allocations: 0 / 439.9 MB, free: 14.96 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005847/0.2742, allocations: 391.9 kB / 440.3 MB, free: 14.52 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.2742, allocations: 4 kB / 440.3 MB, free: 14.52 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001922/0.2744, allocations: 36.08 kB / 440.3 MB, free: 14.48 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.2744, allocations: 7.984 kB / 440.3 MB, free: 14.48 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.2744, allocations: 0 / 440.3 MB, free: 14.48 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.2744, allocations: 4 kB / 440.4 MB, free: 14.47 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.2744, allocations: 3.938 kB / 440.4 MB, free: 14.47 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004393/0.2749, allocations: 385.1 kB / 440.7 MB, free: 14.07 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 3.204e-05/0.2749, allocations: 11.91 kB / 440.7 MB, free: 14.05 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.2749, allocations: 15.97 kB / 440.8 MB, free: 14.04 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.2751, allocations: 4 kB / 440.8 MB, free: 14.04 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/0.2751, allocations: 19.86 kB / 440.8 MB, free: 14.02 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.2751, allocations: 4 kB / 440.8 MB, free: 14.01 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0001384/0.2752, allocations: 143.4 kB / 440.9 MB, free: 13.87 MB / 350.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.2752, allocations: 0 / 440.9 MB, free: 13.87 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0003622/0.2756, allocations: 55.89 kB / 441 MB, free: 13.82 MB / 350.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.0001279/0.2757, allocations: 99.25 kB / 441.1 MB, free: 13.71 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002843/0.276, allocations: 127.8 kB / 441.2 MB, free: 13.58 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.276, allocations: 0.875 kB / 441.2 MB, free: 13.58 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 8.38e-05/0.2761, allocations: 59.92 kB / 441.3 MB, free: 13.52 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005385/0.2766, allocations: 27.98 kB / 441.3 MB, free: 13.5 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.2778, allocations: 0.6152 MB / 441.9 MB, free: 12.84 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/0.2782, allocations: 0.732 MB / 442.6 MB, free: 12.09 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 7.969e-05/0.2783, allocations: 21.94 kB / 442.7 MB, free: 12.07 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.77e-05/0.2783, allocations: 19.44 kB / 442.7 MB, free: 12.05 MB / 350.1 MB
Notification: Performance of SimCode: time 3.1e-07/0.2783, allocations: 3.938 kB / 442.7 MB, free: 12.04 MB / 350.1 MB
Notification: Performance of Templates: time 0.005267/0.2836, allocations: 1.694 MB / 444.4 MB, free: 10.36 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.427903676405549]