Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.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.001297/0.001297, allocations: 104.6 kB / 21.18 MB, free: 0.6992 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.001356/0.001356, allocations: 181.2 kB / 24.46 MB, free: 4.059 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.509/1.509, 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.Thermal.HeatTransfer.Examples.TwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass1.T|mass2.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses")
translateModel(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass1.T|mass2.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") [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.001769/0.001769, allocations: 47.92 kB / 347.6 MB, free: 9.598 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3099, allocations: 49.17 MB / 396.8 MB, free: 9.52 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.003487/0.3134, allocations: 1.636 MB / 398.4 MB, free: 8.379 MB / 318.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001172/0.3146, allocations: 0.5251 MB / 399 MB, free: 8.008 MB / 318.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 9.559e-05/0.3147, allocations: 2.094 kB / 399 MB, free: 8.008 MB / 318.1 MB
Notification: Performance of NFTyping.typeComponents: time 7.867e-05/0.3147, allocations: 12.88 kB / 399 MB, free: 8 MB / 318.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.3148, allocations: 23.05 kB / 399 MB, free: 7.984 MB / 318.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003273/0.3152, allocations: 41.84 kB / 399 MB, free: 7.957 MB / 318.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002045/0.3154, allocations: 96.25 kB / 399.1 MB, free: 7.91 MB / 318.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001795/0.3155, allocations: 30.33 kB / 399.2 MB, free: 7.895 MB / 318.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 6.384e-05/0.3156, allocations: 31.73 kB / 399.2 MB, free: 7.883 MB / 318.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.3157, allocations: 45.22 kB / 399.2 MB, free: 7.859 MB / 318.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.3158, allocations: 11.81 kB / 399.2 MB, free: 7.855 MB / 318.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 9.924e-05/0.3159, allocations: 11.69 kB / 399.2 MB, free: 7.855 MB / 318.1 MB
Notification: Performance of NFScalarize.scalarize: time 3.211e-05/0.3159, allocations: 21.5 kB / 399.3 MB, free: 7.84 MB / 318.1 MB
Notification: Performance of NFVerifyModel.verify: time 7.131e-05/0.316, allocations: 47.66 kB / 399.3 MB, free: 7.812 MB / 318.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002863/0.3162, allocations: 97.72 kB / 399.4 MB, free: 7.785 MB / 318.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.3162, allocations: 1.281 kB / 399.4 MB, free: 7.785 MB / 318.1 MB
Notification: Performance of FrontEnd: time 1.352e-06/0.3162, allocations: 0 / 399.4 MB, free: 7.785 MB / 318.1 MB
Notification: Performance of Transformations before backend: time 8.236e-06/0.3163, allocations: 0 / 399.4 MB, free: 7.785 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: 20
 * Number of variables: 20
Notification: Performance of Generate backend data structure: time 0.0006677/0.3169, allocations: 306.6 kB / 399.7 MB, free: 7.496 MB / 318.1 MB
Notification: Performance of prepare preOptimizeDAE: time 6.785e-05/0.317, allocations: 18.3 kB / 399.7 MB, free: 7.488 MB / 318.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001781/0.3172, allocations: 12.3 kB / 399.7 MB, free: 7.484 MB / 318.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.3173, allocations: 115.8 kB / 399.9 MB, free: 7.352 MB / 318.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.3173, allocations: 8.312 kB / 399.9 MB, free: 7.348 MB / 318.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.357e-05/0.3174, allocations: 9.844 kB / 399.9 MB, free: 7.344 MB / 318.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002233/0.3176, allocations: 82.47 kB / 400 MB, free: 7.293 MB / 318.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.3176, allocations: 3.984 kB / 400 MB, free: 7.289 MB / 318.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.3176, allocations: 5.25 kB / 400 MB, free: 7.285 MB / 318.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.3176, allocations: 2.5 kB / 400 MB, free: 7.285 MB / 318.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.3178, allocations: 56.61 kB / 400 MB, free: 7.266 MB / 318.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006389/0.3184, allocations: 365.1 kB / 400.4 MB, free: 6.965 MB / 318.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.3185, allocations: 68.94 kB / 400.4 MB, free: 6.922 MB / 318.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 5.739e-05/0.3186, allocations: 39.02 kB / 400.5 MB, free: 6.898 MB / 318.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.3186, allocations: 0 / 400.5 MB, free: 6.898 MB / 318.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/0.3186, allocations: 37.55 kB / 400.5 MB, free: 6.855 MB / 318.1 MB
Notification: Performance of pre-optimization done (n=8): time 8.11e-07/0.3186, allocations: 0 / 400.5 MB, free: 6.855 MB / 318.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0002147/0.3188, allocations: 88.92 kB / 400.6 MB, free: 6.801 MB / 318.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 2.345e-05/0.3189, allocations: 52.69 kB / 400.7 MB, free: 6.738 MB / 318.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.779e-05/0.3189, allocations: 108.7 kB / 400.8 MB, free: 6.633 MB / 318.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.319, allocations: 31.89 kB / 400.8 MB, free: 6.598 MB / 318.1 MB
Notification: Performance of collectInitialEqns (initialization): time 4.372e-05/0.319, allocations: 93.05 kB / 400.9 MB, free: 6.508 MB / 318.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.319, allocations: 34.8 kB / 400.9 MB, free: 6.48 MB / 318.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.844e-05/0.3191, allocations: 30.5 kB / 401 MB, free: 6.453 MB / 318.1 MB
Notification: Performance of setup shared object (initialization): time 4.991e-05/0.3191, allocations: 323.1 kB / 401.3 MB, free: 6.133 MB / 318.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 4.688e-05/0.3192, allocations: 22.25 kB / 401.3 MB, free: 6.125 MB / 318.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 5.458e-05/0.3192, allocations: 45.72 kB / 401.3 MB, free: 6.09 MB / 318.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 8.988e-05/0.3193, allocations: 70.44 kB / 401.4 MB, free: 6.039 MB / 318.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3193, allocations: 0 / 401.4 MB, free: 6.039 MB / 318.1 MB
Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001467/0.3194, allocations: 110.4 kB / 401.5 MB, free: 5.973 MB / 318.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.3195, allocations: 6.125 kB / 401.5 MB, free: 5.973 MB / 318.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.3195, allocations: 3.938 kB / 401.5 MB, free: 5.969 MB / 318.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.3195, allocations: 6.656 kB / 401.5 MB, free: 5.965 MB / 318.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.3196, allocations: 22.45 kB / 401.5 MB, free: 5.965 MB / 318.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.3196, allocations: 0.9375 kB / 401.5 MB, free: 5.965 MB / 318.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.196e-05/0.3197, allocations: 11.31 kB / 401.6 MB, free: 5.957 MB / 318.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.3197, allocations: 6.781 kB / 401.6 MB, free: 5.953 MB / 318.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 3
 * 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 (13):
 * Single equations (assignments): 13
 * 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 5.664e-05/0.3197, allocations: 123 kB / 401.7 MB, free: 5.828 MB / 318.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.672e-05/0.3198, allocations: 6.344 kB / 401.7 MB, free: 5.824 MB / 318.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.772e-05/0.3198, allocations: 11.34 kB / 401.7 MB, free: 5.816 MB / 318.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.3198, allocations: 5.5 kB / 401.7 MB, free: 5.812 MB / 318.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.3198, allocations: 0 / 401.7 MB, free: 5.812 MB / 318.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.3198, allocations: 0.8906 kB / 401.7 MB, free: 5.812 MB / 318.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.32, allocations: 156.9 kB / 401.9 MB, free: 5.645 MB / 318.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.32, allocations: 0 / 401.9 MB, free: 5.645 MB / 318.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.3201, allocations: 21.81 kB / 401.9 MB, free: 5.641 MB / 318.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3201, allocations: 4.844 kB / 401.9 MB, free: 5.637 MB / 318.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.3201, allocations: 1.828 kB / 401.9 MB, free: 5.637 MB / 318.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.3201, allocations: 5.031 kB / 401.9 MB, free: 5.633 MB / 318.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3201, allocations: 0 / 401.9 MB, free: 5.633 MB / 318.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002185/0.3203, allocations: 191.6 kB / 402.1 MB, free: 5.477 MB / 318.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.39e-05/0.3203, allocations: 13.78 kB / 402.1 MB, free: 5.465 MB / 318.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.3204, allocations: 2.438 kB / 402.1 MB, free: 5.465 MB / 318.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.897e-05/0.3204, allocations: 8.609 kB / 402.1 MB, free: 5.457 MB / 318.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.672e-05/0.3204, allocations: 9.125 kB / 402.1 MB, free: 5.453 MB / 318.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.3204, allocations: 1.156 kB / 402.1 MB, free: 5.453 MB / 318.1 MB
Notification: Performance of sorting global known variables: time 3.2e-05/0.3205, allocations: 85.83 kB / 402.2 MB, free: 5.375 MB / 318.1 MB
Notification: Performance of sort global known variables: time 6e-08/0.3205, allocations: 0 / 402.2 MB, free: 5.375 MB / 318.1 MB
Notification: Performance of remove unused functions: time 0.0002515/0.3207, allocations: 23.25 kB / 402.2 MB, free: 5.371 MB / 318.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 2 (mass1.T,mass2.T)
 * 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 (8):
 * Single equations (assignments): 8
 * 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 8.131e-05/0.3208, allocations: 91.59 kB / 402.3 MB, free: 5.285 MB / 318.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001707/0.321, allocations: 52.7 kB / 402.4 MB, free: 5.27 MB / 318.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.321, allocations: 4.125 kB / 402.4 MB, free: 5.266 MB / 318.1 MB
Notification: Performance of simCode: created simulation system equations: time 4.008e-05/0.321, allocations: 25.92 kB / 402.4 MB, free: 5.258 MB / 318.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.3214, allocations: 3.219 kB / 402.4 MB, free: 5.258 MB / 318.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006503/0.322, allocations: 332.3 kB / 402.7 MB, free: 4.996 MB / 318.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001322/0.3222, allocations: 0.6951 MB / 403.4 MB, free: 4.297 MB / 318.1 MB
Notification: Performance of simCode: alias equations: time 3.498e-05/0.3222, allocations: 10.28 kB / 403.4 MB, free: 4.293 MB / 318.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.603e-05/0.3222, allocations: 14.25 kB / 403.4 MB, free: 4.281 MB / 318.1 MB
Notification: Performance of SimCode: time 3.31e-07/0.3222, allocations: 0 / 403.4 MB, free: 4.281 MB / 318.1 MB
Notification: Performance of Templates: time 0.00367/0.3259, allocations: 0.6919 MB / 404.1 MB, free: 4.184 MB / 318.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile [Timeout 660]
(rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & ./Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.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.617323433980346]