Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001716/0.001716, allocations: 106 kB / 21.18 MB, free: 0.707 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.001731/0.001731, allocations: 183.9 kB / 24.47 MB, free: 4.074 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.557/1.557, allocations: 207.6 MB / 235.2 MB, free: 10.01 MB / 190.1 MB
"
[Timeout remaining time 178]
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 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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows") [Timeout 660]
"Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.001732/0.001732, allocations: 55.92 kB / 347.6 MB, free: 9.566 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.3096, allocations: 49.16 MB / 396.8 MB, free: 9.516 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003836/0.3135, allocations: 2.252 MB / 399.1 MB, free: 7.938 MB / 318.1 MB
Notification: Performance of NFInst.instExpressions: time 0.000572/0.314, allocations: 196.1 kB / 399.2 MB, free: 7.793 MB / 318.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.3142, allocations: 9.125 kB / 399.3 MB, free: 7.789 MB / 318.1 MB
Notification: Performance of NFTyping.typeComponents: time 9.594e-05/0.3143, allocations: 33.62 kB / 399.3 MB, free: 7.77 MB / 318.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001722/0.3144, allocations: 67.33 kB / 399.3 MB, free: 7.719 MB / 318.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0001908/0.3146, allocations: 51.89 kB / 399.4 MB, free: 7.691 MB / 318.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002281/0.3148, allocations: 233.4 kB / 399.6 MB, free: 7.574 MB / 318.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002022/0.315, allocations: 88.62 kB / 399.7 MB, free: 7.527 MB / 318.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.3152, allocations: 90.33 kB / 399.8 MB, free: 7.488 MB / 318.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001733/0.3153, allocations: 108 kB / 399.9 MB, free: 7.43 MB / 318.1 MB
Notification: Performance of NFPackage.collectConstants: time 4.239e-05/0.3154, allocations: 21.56 kB / 399.9 MB, free: 7.43 MB / 318.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 6.997e-05/0.3154, allocations: 20.94 kB / 399.9 MB, free: 7.43 MB / 318.1 MB
Notification: Performance of NFScalarize.scalarize: time 5.585e-05/0.3155, allocations: 45.61 kB / 400 MB, free: 7.398 MB / 318.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.3156, allocations: 112.9 kB / 400.1 MB, free: 7.332 MB / 318.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.00033/0.3159, allocations: 261.2 kB / 400.4 MB, free: 7.23 MB / 318.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.316, allocations: 0.7969 kB / 400.4 MB, free: 7.23 MB / 318.1 MB
Notification: Performance of FrontEnd: time 1.633e-06/0.316, allocations: 4 kB / 400.4 MB, free: 7.227 MB / 318.1 MB
Notification: Performance of Transformations before backend: time 7.795e-06/0.316, allocations: 1.312 kB / 400.4 MB, free: 7.227 MB / 318.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.0007645/0.3167, allocations: 444.1 kB / 400.8 MB, free: 6.859 MB / 318.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.3168, allocations: 21.59 kB / 400.8 MB, free: 6.848 MB / 318.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.105e-05/0.3168, allocations: 28.44 kB / 400.8 MB, free: 6.832 MB / 318.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.3171, allocations: 161.9 kB / 401 MB, free: 6.672 MB / 318.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.3171, allocations: 17.22 kB / 401 MB, free: 6.664 MB / 318.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.681e-05/0.3171, allocations: 23.56 kB / 401 MB, free: 6.656 MB / 318.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004213/0.3176, allocations: 225.6 kB / 401.3 MB, free: 6.527 MB / 318.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/0.3176, allocations: 2.297 kB / 401.3 MB, free: 6.527 MB / 318.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.3176, allocations: 18.62 kB / 401.3 MB, free: 6.512 MB / 318.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.3176, allocations: 5.062 kB / 401.3 MB, free: 6.512 MB / 318.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002478/0.3179, allocations: 136.1 kB / 401.4 MB, free: 6.465 MB / 318.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/0.319, allocations: 0.8225 MB / 402.2 MB, free: 5.812 MB / 318.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/0.3192, allocations: 149.7 kB / 402.4 MB, free: 5.703 MB / 318.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.3193, allocations: 58.11 kB / 402.5 MB, free: 5.664 MB / 318.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.3193, allocations: 6.031 kB / 402.5 MB, free: 5.66 MB / 318.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.644e-05/0.3194, allocations: 41.64 kB / 402.5 MB, free: 5.613 MB / 318.1 MB
Notification: Performance of pre-optimization done (n=17): time 2.224e-06/0.3194, allocations: 0 / 402.5 MB, free: 5.613 MB / 318.1 MB
Notification: Performance of matching and sorting (n=17): time 0.0003628/0.3197, allocations: 166 kB / 402.7 MB, free: 5.531 MB / 318.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.3198, allocations: 109.6 kB / 402.8 MB, free: 5.402 MB / 318.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.3199, allocations: 202.9 kB / 403 MB, free: 5.262 MB / 318.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.3199, allocations: 30.83 kB / 403 MB, free: 5.227 MB / 318.1 MB
Notification: Performance of collectInitialEqns (initialization): time 6.94e-05/0.32, allocations: 160.5 kB / 403.2 MB, free: 5.082 MB / 318.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.761e-05/0.32, allocations: 73.83 kB / 403.2 MB, free: 5.023 MB / 318.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.311e-05/0.3201, allocations: 47.02 kB / 403.3 MB, free: 4.988 MB / 318.1 MB
Notification: Performance of setup shared object (initialization): time 5.502e-05/0.3201, allocations: 329.8 kB / 403.6 MB, free: 4.668 MB / 318.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.376e-05/0.3202, allocations: 47.47 kB / 403.6 MB, free: 4.652 MB / 318.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.3204, allocations: 160.7 kB / 403.8 MB, free: 4.492 MB / 318.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002138/0.3206, allocations: 216.9 kB / 404 MB, free: 4.301 MB / 318.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.3206, allocations: 1.125 kB / 404 MB, free: 4.301 MB / 318.1 MB
Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003267/0.3209, allocations: 252.1 kB / 404.3 MB, free: 4.176 MB / 318.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.3209, allocations: 11.22 kB / 404.3 MB, free: 4.172 MB / 318.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.3209, allocations: 11.41 kB / 404.3 MB, free: 4.168 MB / 318.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/0.321, allocations: 4.875 kB / 404.3 MB, free: 4.168 MB / 318.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002032/0.3212, allocations: 55.14 kB / 404.3 MB, free: 4.164 MB / 318.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.3212, allocations: 12.7 kB / 404.3 MB, free: 4.16 MB / 318.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.3213, allocations: 32.5 kB / 404.4 MB, free: 4.137 MB / 318.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/0.3213, allocations: 14.62 kB / 404.4 MB, free: 4.133 MB / 318.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 8.473e-05/0.3214, allocations: 144.6 kB / 404.5 MB, free: 3.992 MB / 318.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.809e-05/0.3215, allocations: 20.47 kB / 404.6 MB, free: 3.98 MB / 318.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.269e-05/0.3215, allocations: 24.73 kB / 404.6 MB, free: 3.961 MB / 318.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.3215, allocations: 3.5 kB / 404.6 MB, free: 3.961 MB / 318.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.3215, allocations: 0 / 404.6 MB, free: 3.961 MB / 318.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3215, allocations: 5.219 kB / 404.6 MB, free: 3.957 MB / 318.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004538/0.322, allocations: 394.8 kB / 405 MB, free: 3.609 MB / 318.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.322, allocations: 1.156 kB / 405 MB, free: 3.609 MB / 318.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002067/0.3222, allocations: 47.27 kB / 405 MB, free: 3.598 MB / 318.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.3222, allocations: 2.094 kB / 405 MB, free: 3.598 MB / 318.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.3222, allocations: 3.109 kB / 405 MB, free: 3.598 MB / 318.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.3222, allocations: 2.281 kB / 405 MB, free: 3.598 MB / 318.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3222, allocations: 1.062 kB / 405 MB, free: 3.598 MB / 318.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003564/0.3226, allocations: 381.7 kB / 405.4 MB, free: 3.297 MB / 318.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 3.009e-05/0.3226, allocations: 19.67 kB / 405.4 MB, free: 3.285 MB / 318.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.949e-05/0.3226, allocations: 7.156 kB / 405.4 MB, free: 3.281 MB / 318.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.3228, allocations: 2.125 kB / 405.4 MB, free: 3.281 MB / 318.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.3228, allocations: 18 kB / 405.4 MB, free: 3.273 MB / 318.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.158e-06/0.3228, allocations: 8.812 kB / 405.5 MB, free: 3.27 MB / 318.1 MB
Notification: Performance of sorting global known variables: time 9.939e-05/0.3229, allocations: 142.3 kB / 405.6 MB, free: 3.176 MB / 318.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.3229, allocations: 0 / 405.6 MB, free: 3.176 MB / 318.1 MB
Notification: Performance of remove unused functions: time 0.0003845/0.3233, allocations: 49.33 kB / 405.6 MB, free: 3.168 MB / 318.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 9.061e-05/0.3234, allocations: 104.6 kB / 405.7 MB, free: 3.066 MB / 318.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002574/0.3237, allocations: 141.3 kB / 405.9 MB, free: 3.016 MB / 318.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3237, allocations: 0 / 405.9 MB, free: 3.016 MB / 318.1 MB
Notification: Performance of simCode: created simulation system equations: time 8.136e-05/0.3237, allocations: 55.8 kB / 405.9 MB, free: 2.996 MB / 318.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005144/0.3243, allocations: 28.48 kB / 406 MB, free: 2.984 MB / 318.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009413/0.3252, allocations: 0.5985 MB / 406.6 MB, free: 2.523 MB / 318.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001887/0.3254, allocations: 0.7357 MB / 407.3 MB, free: 1.824 MB / 318.1 MB
Notification: Performance of simCode: alias equations: time 8.333e-05/0.3255, allocations: 24.86 kB / 407.3 MB, free: 1.816 MB / 318.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.461e-05/0.3255, allocations: 19.03 kB / 407.3 MB, free: 1.809 MB / 318.1 MB
Notification: Performance of SimCode: time 3.2e-07/0.3255, allocations: 0 / 407.3 MB, free: 1.809 MB / 318.1 MB
Notification: Performance of Templates: time 0.005103/0.3306, allocations: 1.696 MB / 409 MB, free: 1.633 MB / 318.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile [Timeout 660]
(rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.56864663772285]