Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.001741/0.001741, allocations: 106 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.00216/0.00216, allocations: 181.2 kB / 24.46 MB, free: 4.062 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.548/1.548, allocations: 207.6 MB / 235.2 MB, free: 10.02 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.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass")
translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") [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.001745/0.001745, allocations: 55.91 kB / 347.6 MB, free: 9.586 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3154, allocations: 49.17 MB / 396.8 MB, free: 9.504 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004365/0.3198, allocations: 3.688 MB / 400.5 MB, free: 6.887 MB / 318.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001531/0.3213, allocations: 1.039 MB / 401.5 MB, free: 6.129 MB / 318.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002319/0.3215, allocations: 10.03 kB / 401.5 MB, free: 6.125 MB / 318.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003044/0.3218, allocations: 109.2 kB / 401.6 MB, free: 6.062 MB / 318.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003665/0.3222, allocations: 197.8 kB / 401.8 MB, free: 5.922 MB / 318.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003172/0.3225, allocations: 136.5 kB / 402 MB, free: 5.844 MB / 318.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0006623/0.3232, allocations: 0.6732 MB / 402.6 MB, free: 5.5 MB / 318.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002163/0.3234, allocations: 130.5 kB / 402.8 MB, free: 5.418 MB / 318.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002711/0.3237, allocations: 271.8 kB / 403 MB, free: 5.289 MB / 318.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003357/0.324, allocations: 289.9 kB / 403.3 MB, free: 5.145 MB / 318.1 MB
Notification: Performance of NFPackage.collectConstants: time 9.292e-05/0.3241, allocations: 57.12 kB / 403.4 MB, free: 5.145 MB / 318.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.3242, allocations: 58.16 kB / 403.4 MB, free: 5.145 MB / 318.1 MB
Notification: Performance of NFScalarize.scalarize: time 9.652e-05/0.3243, allocations: 130.2 kB / 403.6 MB, free: 5.055 MB / 318.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002482/0.3245, allocations: 313.7 kB / 403.9 MB, free: 4.871 MB / 318.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0007573/0.3253, allocations: 0.6958 MB / 404.6 MB, free: 4.59 MB / 318.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3253, allocations: 0 / 404.6 MB, free: 4.59 MB / 318.1 MB
Notification: Performance of FrontEnd: time 1.433e-06/0.3253, allocations: 0 / 404.6 MB, free: 4.59 MB / 318.1 MB
Notification: Performance of Transformations before backend: time 9.518e-06/0.3253, allocations: 0 / 404.6 MB, free: 4.59 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: 79
 * Number of variables: 79
Notification: Performance of Generate backend data structure: time 0.001451/0.3268, allocations: 0.8355 MB / 405.4 MB, free: 3.992 MB / 318.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.3268, allocations: 12.98 kB / 405.4 MB, free: 3.988 MB / 318.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.3269, allocations: 67.48 kB / 405.5 MB, free: 3.957 MB / 318.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007313/0.3277, allocations: 378.5 kB / 405.9 MB, free: 3.688 MB / 318.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.341e-05/0.3278, allocations: 62.3 kB / 405.9 MB, free: 3.641 MB / 318.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.875e-05/0.3278, allocations: 29.69 kB / 405.9 MB, free: 3.633 MB / 318.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008255/0.3286, allocations: 491.8 kB / 406.4 MB, free: 3.328 MB / 318.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.3287, allocations: 0 / 406.4 MB, free: 3.328 MB / 318.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.058e-05/0.3287, allocations: 16.75 kB / 406.4 MB, free: 3.316 MB / 318.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.3287, allocations: 8.406 kB / 406.4 MB, free: 3.316 MB / 318.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008059/0.3295, allocations: 342.6 kB / 406.8 MB, free: 3.215 MB / 318.1 MB
Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002039/0.3315, allocations: 1.233 MB / 408 MB, free: 2.414 MB / 318.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0006148/0.3322, allocations: 285.9 kB / 408.3 MB, free: 2.301 MB / 318.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003572/0.3325, allocations: 166.2 kB / 408.5 MB, free: 2.238 MB / 318.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 4.157e-05/0.3326, allocations: 9.469 kB / 408.5 MB, free: 2.234 MB / 318.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.3326, allocations: 42.69 kB / 408.5 MB, free: 2.188 MB / 318.1 MB
Notification: Performance of pre-optimization done (n=35): time 1.714e-06/0.3326, allocations: 0 / 408.5 MB, free: 2.188 MB / 318.1 MB
Notification: Performance of matching and sorting (n=35): time 0.001589/0.3342, allocations: 0.5758 MB / 409.1 MB, free: 1.953 MB / 318.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.866e-05/0.3343, allocations: 445 kB / 409.5 MB, free: 1.422 MB / 318.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005168/0.3348, allocations: 457 kB / 410 MB, free: 1.211 MB / 318.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.696e-05/0.3348, allocations: 33.23 kB / 410 MB, free: 1.176 MB / 318.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.335, allocations: 249 kB / 410.2 MB, free: 0.9688 MB / 318.1 MB
Notification: Performance of collectInitialBindings (initialization): time 8.504e-05/0.3351, allocations: 128.2 kB / 410.4 MB, free: 0.8672 MB / 318.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/0.3352, allocations: 75.41 kB / 410.4 MB, free: 0.8242 MB / 318.1 MB
Notification: Performance of setup shared object (initialization): time 9.14e-05/0.3353, allocations: 362.1 kB / 410.8 MB, free: 500 kB / 318.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003509/0.3356, allocations: 136.3 kB / 410.9 MB, free: 456 kB / 318.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003903/0.336, allocations: 281.6 kB / 411.2 MB, free: 216 kB / 318.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.00063/0.3366, allocations: 340.5 kB / 411.5 MB, free: 20 kB / 318.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3366, allocations: 1.094 kB / 411.5 MB, free: 20 kB / 318.1 MB
Notification: Performance of matching and sorting (n=41) (initialization): time 0.001037/0.3377, allocations: 485.7 kB / 412 MB, free: 15.74 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 4.949e-05/0.3377, allocations: 36.28 kB / 412 MB, free: 15.71 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.3377, allocations: 0 / 412 MB, free: 15.71 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.000185/0.3379, allocations: 48.39 kB / 412.1 MB, free: 15.68 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004271/0.3383, allocations: 89.38 kB / 412.2 MB, free: 15.65 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002765/0.3411, allocations: 2.762 MB / 414.9 MB, free: 12.89 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005404/0.3417, allocations: 52.16 kB / 415 MB, free: 12.86 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.638e-05/0.3417, allocations: 16.81 kB / 415 MB, free: 12.85 MB / 334.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 2
 * 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 (37):
 * Single equations (assignments): 34
 * Array equations: 0
 * Algorithm blocks: 1
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 0 systems
 * Non-linear torn systems (#iteration vars, #inner vars): 2 systems
   {(3,1), (1,1)}
Notification: Performance of prepare postOptimizeDAE: time 0.000276/0.342, allocations: 172.3 kB / 415.2 MB, free: 12.7 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.3421, allocations: 58.95 kB / 415.2 MB, free: 12.67 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.3422, allocations: 52.38 kB / 415.3 MB, free: 12.62 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.3422, allocations: 8 kB / 415.3 MB, free: 12.62 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.3422, allocations: 0 / 415.3 MB, free: 12.62 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00109/0.3433, allocations: 0.7208 MB / 416 MB, free: 11.96 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002023/0.3453, allocations: 0.9874 MB / 417 MB, free: 11.2 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/0.3453, allocations: 5.531 kB / 417 MB, free: 11.2 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004311/0.3458, allocations: 87.66 kB / 417.1 MB, free: 11.18 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.3458, allocations: 1.75 kB / 417.1 MB, free: 11.18 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.315e-05/0.3458, allocations: 9.781 kB / 417.1 MB, free: 11.17 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.3458, allocations: 5.656 kB / 417.1 MB, free: 11.16 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3458, allocations: 1.75 kB / 417.1 MB, free: 11.16 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001292/0.3471, allocations: 0.6424 MB / 417.8 MB, free: 10.77 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002115/0.3473, allocations: 94.16 kB / 417.8 MB, free: 10.7 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.755e-05/0.3474, allocations: 15.81 kB / 417.9 MB, free: 10.69 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003452/0.3477, allocations: 26.31 kB / 417.9 MB, free: 10.68 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.05e-05/0.3478, allocations: 28.69 kB / 417.9 MB, free: 10.66 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.79e-05/0.3478, allocations: 13.67 kB / 417.9 MB, free: 10.65 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 0.0004496/0.3483, allocations: 319.3 kB / 418.2 MB, free: 10.46 MB / 334.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.3483, allocations: 0 / 418.2 MB, free: 10.46 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0005537/0.3488, allocations: 143.6 kB / 418.4 MB, free: 10.43 MB / 334.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 2 (pipe.T,heatCapacitor.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 (35):
 * Single equations (assignments): 35
 * 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.0001532/0.349, allocations: 112.2 kB / 418.5 MB, free: 10.33 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.001311/0.3503, allocations: 0.615 MB / 419.1 MB, free: 9.883 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.3503, allocations: 1.156 kB / 419.1 MB, free: 9.883 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0003753/0.3507, allocations: 167.7 kB / 419.3 MB, free: 9.809 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006599/0.3513, allocations: 144.2 kB / 419.4 MB, free: 9.73 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/0.3531, allocations: 0.9448 MB / 420.4 MB, free: 9.102 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005093/0.3536, allocations: 0.8245 MB / 421.2 MB, free: 8.344 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 0.0003144/0.3539, allocations: 66.09 kB / 421.2 MB, free: 8.312 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.3541, allocations: 44.28 kB / 421.3 MB, free: 8.301 MB / 334.1 MB
Notification: Performance of SimCode: time 5.21e-07/0.3541, allocations: 0 / 421.3 MB, free: 8.301 MB / 334.1 MB
Notification: Performance of Templates: time 0.01811/0.3722, allocations: 9.203 MB / 430.5 MB, free: 0.7266 MB / 334.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile [Timeout 660]
(rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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: 5.06017751712352]