Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.001747/0.001747, allocations: 109 kB / 21.23 MB, free: 0.6641 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.002284/0.002284, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.475/1.475, allocations: 230.3 MB / 258 MB, free: 8.234 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.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 59.89 kB / 378.7 MB, free: 2.781 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2548, allocations: 53.37 MB / 432.1 MB, free: 7.055 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005343/0.2602, allocations: 3.708 MB / 435.8 MB, free: 3.336 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.00202/0.2622, allocations: 1.016 MB / 436.8 MB, free: 2.312 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0003272/0.2625, allocations: 11.94 kB / 436.8 MB, free: 2.301 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003815/0.2629, allocations: 107 kB / 437 MB, free: 2.195 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0005658/0.2635, allocations: 206.3 kB / 437.2 MB, free: 1.992 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003504/0.2638, allocations: 131.8 kB / 437.3 MB, free: 1.863 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0009898/0.2648, allocations: 0.6844 MB / 438 MB, free: 1.18 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002576/0.2651, allocations: 134.5 kB / 438.1 MB, free: 1.047 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0004437/0.2655, allocations: 267 kB / 438.4 MB, free: 0.7852 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004371/0.266, allocations: 294.8 kB / 438.6 MB, free: 0.4961 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001169/0.2661, allocations: 56 kB / 438.7 MB, free: 452 kB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.2662, allocations: 64 kB / 438.8 MB, free: 388 kB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001321/0.2663, allocations: 123.5 kB / 438.9 MB, free: 264 kB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0003784/0.2667, allocations: 310.7 kB / 439.2 MB, free: 15.95 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0008096/0.2675, allocations: 0.6944 MB / 439.9 MB, free: 15.26 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2675, allocations: 4 kB / 439.9 MB, free: 15.25 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.052e-06/0.2675, allocations: 4 kB / 439.9 MB, free: 15.25 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 8.025e-06/0.2675, allocations: 0 / 439.9 MB, free: 15.25 MB / 350.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.001613/0.2692, allocations: 0.8255 MB / 440.7 MB, free: 14.38 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.2692, allocations: 8.031 kB / 440.7 MB, free: 14.38 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001366/0.2693, allocations: 76.52 kB / 440.8 MB, free: 14.3 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008616/0.2702, allocations: 381.1 kB / 441.2 MB, free: 13.9 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001364/0.2703, allocations: 54.86 kB / 441.2 MB, free: 13.84 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 8.98e-05/0.2704, allocations: 36.36 kB / 441.3 MB, free: 13.81 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/0.2717, allocations: 497 kB / 441.7 MB, free: 13.27 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.575e-05/0.2717, allocations: 3.953 kB / 441.7 MB, free: 13.27 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.027e-05/0.2718, allocations: 16 kB / 441.8 MB, free: 13.25 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/0.2718, allocations: 8 kB / 441.8 MB, free: 13.25 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001369/0.2732, allocations: 330.4 kB / 442.1 MB, free: 12.92 MB / 350.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.002958/0.2761, allocations: 1.24 MB / 443.3 MB, free: 11.6 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.2771, allocations: 284.9 kB / 443.6 MB, free: 11.31 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0006233/0.2778, allocations: 168.8 kB / 443.8 MB, free: 11.14 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 5.291e-05/0.2778, allocations: 8 kB / 443.8 MB, free: 11.14 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.42e-05/0.2779, allocations: 38.56 kB / 443.8 MB, free: 11.09 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=35): time 2.504e-06/0.2779, allocations: 0 / 443.8 MB, free: 11.09 MB / 350.1 MB
Notification: Performance of matching and sorting (n=35): time 0.002366/0.2802, allocations: 0.5711 MB / 444.4 MB, free: 10.51 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002837/0.2805, allocations: 445 kB / 444.8 MB, free: 9.969 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007865/0.2813, allocations: 458 kB / 445.3 MB, free: 9.516 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 6.253e-05/0.2814, allocations: 37.69 kB / 445.3 MB, free: 9.473 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0003329/0.2817, allocations: 244.6 kB / 445.6 MB, free: 9.23 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001629/0.2819, allocations: 130.9 kB / 445.7 MB, free: 9.102 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002027/0.2821, allocations: 77.48 kB / 445.8 MB, free: 9.02 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002742/0.2823, allocations: 358.7 kB / 446.1 MB, free: 8.66 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005974/0.2829, allocations: 135.9 kB / 446.2 MB, free: 8.527 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007889/0.2837, allocations: 286.8 kB / 446.5 MB, free: 8.191 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/0.2849, allocations: 341.1 kB / 446.9 MB, free: 7.848 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.2849, allocations: 0 / 446.9 MB, free: 7.848 MB / 350.1 MB
Notification: Performance of matching and sorting (n=41) (initialization): time 0.001583/0.2865, allocations: 490 kB / 447.3 MB, free: 7.352 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 5.27e-05/0.2866, allocations: 29.7 kB / 447.4 MB, free: 7.316 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.2866, allocations: 0 / 447.4 MB, free: 7.316 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0002328/0.2868, allocations: 57.67 kB / 447.4 MB, free: 7.254 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006023/0.2874, allocations: 79.92 kB / 447.5 MB, free: 7.176 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003832/0.2912, allocations: 2.778 MB / 450.3 MB, free: 4.16 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006448/0.2919, allocations: 51.75 kB / 450.3 MB, free: 4.109 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.811e-05/0.2919, allocations: 12.17 kB / 450.3 MB, free: 4.098 MB / 350.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.00032/0.2923, allocations: 169.8 kB / 450.5 MB, free: 3.922 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001636/0.2924, allocations: 59.66 kB / 450.6 MB, free: 3.863 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001474/0.2926, allocations: 56.75 kB / 450.6 MB, free: 3.809 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.2926, allocations: 4 kB / 450.6 MB, free: 3.805 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.2926, allocations: 0 / 450.6 MB, free: 3.805 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001515/0.2941, allocations: 0.7231 MB / 451.3 MB, free: 2.977 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002632/0.2967, allocations: 0.9807 MB / 452.3 MB, free: 1.941 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.2967, allocations: 0 / 452.3 MB, free: 1.941 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006646/0.2974, allocations: 91.88 kB / 452.4 MB, free: 1.852 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.2974, allocations: 7.938 kB / 452.4 MB, free: 1.844 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.474e-05/0.2974, allocations: 7.938 kB / 452.4 MB, free: 1.836 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/0.2974, allocations: 7.984 kB / 452.4 MB, free: 1.828 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2974, allocations: 0 / 452.4 MB, free: 1.828 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002038/0.2995, allocations: 0.6489 MB / 453.1 MB, free: 1.164 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0003109/0.2998, allocations: 95.48 kB / 453.2 MB, free: 1.07 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/0.2999, allocations: 11.94 kB / 453.2 MB, free: 1.059 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006083/0.3005, allocations: 35.91 kB / 453.2 MB, free: 1.023 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.567e-05/0.3006, allocations: 23.95 kB / 453.2 MB, free: 1 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.824e-05/0.3006, allocations: 4 kB / 453.2 MB, free: 0.9961 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0005692/0.3012, allocations: 331.2 kB / 453.6 MB, free: 0.6719 MB / 350.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.3012, allocations: 0 / 453.6 MB, free: 0.6719 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0007295/0.3019, allocations: 139.8 kB / 453.7 MB, free: 0.5352 MB / 350.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.0001647/0.3021, allocations: 107.2 kB / 453.8 MB, free: 432 kB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.001927/0.304, allocations: 0.6136 MB / 454.4 MB, free: 15.77 MB / 366.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.304, allocations: 0 / 454.4 MB, free: 15.77 MB / 366.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0006189/0.3047, allocations: 163.8 kB / 454.6 MB, free: 15.61 MB / 366.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.3057, allocations: 149.8 kB / 454.7 MB, free: 15.46 MB / 366.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00239/0.3081, allocations: 0.9431 MB / 455.7 MB, free: 14.49 MB / 366.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007033/0.3088, allocations: 0.8275 MB / 456.5 MB, free: 13.63 MB / 366.1 MB
Notification: Performance of simCode: alias equations: time 0.0004055/0.3092, allocations: 64.34 kB / 456.6 MB, free: 13.57 MB / 366.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001804/0.3094, allocations: 43.42 kB / 456.6 MB, free: 13.53 MB / 366.1 MB
Notification: Performance of SimCode: time 3.51e-07/0.3094, allocations: 0 / 456.6 MB, free: 13.53 MB / 366.1 MB
Notification: Performance of Templates: time 0.02262/0.332, allocations: 9.219 MB / 465.8 MB, free: 4.457 MB / 366.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.769486969336867]