Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.001684/0.001684, 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.002133/0.002133, 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.471/1.471, allocations: 230.3 MB / 258 MB, free: 8.23 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.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling")
translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 63.89 kB / 378.7 MB, free: 2.797 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2331, allocations: 53.36 MB / 432.1 MB, free: 7.082 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.00487/0.238, allocations: 3.546 MB / 435.7 MB, free: 3.527 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001819/0.2398, allocations: 0.9966 MB / 436.6 MB, free: 2.527 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002036/0.24, allocations: 7.938 kB / 436.7 MB, free: 2.52 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003459/0.2403, allocations: 107.1 kB / 436.8 MB, free: 2.414 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003942/0.2407, allocations: 190.4 kB / 436.9 MB, free: 2.227 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002778/0.241, allocations: 123.8 kB / 437.1 MB, free: 2.105 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0007691/0.2418, allocations: 0.6341 MB / 437.7 MB, free: 1.469 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002516/0.242, allocations: 131.5 kB / 437.8 MB, free: 1.332 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002803/0.2423, allocations: 247.1 kB / 438.1 MB, free: 1.09 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003613/0.2427, allocations: 278.8 kB / 438.3 MB, free: 0.8164 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 8.999e-05/0.2428, allocations: 52 kB / 438.4 MB, free: 0.7656 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.2429, allocations: 56 kB / 438.4 MB, free: 0.7109 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.243, allocations: 119.6 kB / 438.6 MB, free: 0.5938 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0003117/0.2433, allocations: 294.6 kB / 438.9 MB, free: 312 kB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0007288/0.244, allocations: 0.6438 MB / 439.5 MB, free: 15.66 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.244, allocations: 0 / 439.5 MB, free: 15.66 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.393e-06/0.244, allocations: 0 / 439.5 MB, free: 15.66 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 1.27e-05/0.2441, allocations: 0 / 439.5 MB, free: 15.66 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: 80
 * Number of variables: 80
Notification: Performance of Generate backend data structure: time 0.001444/0.2455, allocations: 0.7827 MB / 440.3 MB, free: 14.84 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.2455, allocations: 8.031 kB / 440.3 MB, free: 14.83 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001221/0.2457, allocations: 64.56 kB / 440.4 MB, free: 14.77 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006192/0.2463, allocations: 333.2 kB / 440.7 MB, free: 14.42 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001237/0.2464, allocations: 66.91 kB / 440.7 MB, free: 14.35 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.693e-05/0.2465, allocations: 32.38 kB / 440.8 MB, free: 14.32 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007908/0.2473, allocations: 461.1 kB / 441.2 MB, free: 13.82 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.2473, allocations: 3.938 kB / 441.2 MB, free: 13.81 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.426e-05/0.2473, allocations: 16 kB / 441.2 MB, free: 13.8 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.2473, allocations: 8 kB / 441.3 MB, free: 13.79 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006126/0.2479, allocations: 278.5 kB / 441.5 MB, free: 13.52 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.00224/0.2502, allocations: 1.26 MB / 442.8 MB, free: 12.17 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001208/0.2514, allocations: 342.1 kB / 443.1 MB, free: 11.83 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002826/0.2517, allocations: 132.4 kB / 443.2 MB, free: 11.7 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.313e-05/0.2517, allocations: 4 kB / 443.2 MB, free: 11.7 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.2517, allocations: 42.56 kB / 443.3 MB, free: 11.64 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=32): time 1.824e-06/0.2517, allocations: 0 / 443.3 MB, free: 11.64 MB / 350.1 MB
Notification: Performance of matching and sorting (n=32): time 0.001201/0.2529, allocations: 460.2 kB / 443.7 MB, free: 11.18 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002464/0.2532, allocations: 445 kB / 444.2 MB, free: 10.64 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000552/0.2537, allocations: 457.9 kB / 444.6 MB, free: 10.19 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.864e-05/0.2538, allocations: 37.7 kB / 444.7 MB, free: 10.14 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.254, allocations: 232.6 kB / 444.9 MB, free: 9.914 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.2541, allocations: 119 kB / 445 MB, free: 9.797 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/0.2542, allocations: 73.97 kB / 445.1 MB, free: 9.715 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.000168/0.2544, allocations: 358.8 kB / 445.4 MB, free: 9.355 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000265/0.2547, allocations: 104.6 kB / 445.5 MB, free: 9.254 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003974/0.2551, allocations: 254.6 kB / 445.8 MB, free: 8.957 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0005366/0.2556, allocations: 281.2 kB / 446.1 MB, free: 8.672 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2556, allocations: 0 / 446.1 MB, free: 8.672 MB / 350.1 MB
Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007874/0.2564, allocations: 420.5 kB / 446.5 MB, free: 8.242 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.758e-05/0.2564, allocations: 33.7 kB / 446.5 MB, free: 8.203 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.2564, allocations: 0 / 446.5 MB, free: 8.203 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001709/0.2566, allocations: 45.73 kB / 446.5 MB, free: 8.152 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003568/0.257, allocations: 71.89 kB / 446.6 MB, free: 8.082 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002711/0.2597, allocations: 2.766 MB / 449.4 MB, free: 5.082 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003924/0.2601, allocations: 47.73 kB / 449.4 MB, free: 5.035 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.039e-05/0.2601, allocations: 12 kB / 449.4 MB, free: 5.023 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 (36):
 * Single equations (assignments): 33
 * 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.0002239/0.2603, allocations: 166 kB / 449.6 MB, free: 4.852 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.2604, allocations: 55.67 kB / 449.6 MB, free: 4.797 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000105/0.2605, allocations: 56.92 kB / 449.7 MB, free: 4.742 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.2605, allocations: 4 kB / 449.7 MB, free: 4.738 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.946e-06/0.2605, allocations: 7.922 kB / 449.7 MB, free: 4.73 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007793/0.2613, allocations: 0.6453 MB / 450.4 MB, free: 3.98 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00142/0.2627, allocations: 0.8714 MB / 451.2 MB, free: 3.055 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.2627, allocations: 3.938 kB / 451.2 MB, free: 3.051 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003688/0.2631, allocations: 71.89 kB / 451.3 MB, free: 2.98 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 5.972e-06/0.2631, allocations: 4.094 kB / 451.3 MB, free: 2.977 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.441e-05/0.2631, allocations: 7.938 kB / 451.3 MB, free: 2.969 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.2631, allocations: 0 / 451.3 MB, free: 2.969 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2631, allocations: 4 kB / 451.3 MB, free: 2.965 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009281/0.2641, allocations: 0.5245 MB / 451.8 MB, free: 2.426 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001908/0.2643, allocations: 91.56 kB / 451.9 MB, free: 2.336 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.809e-05/0.2643, allocations: 8 kB / 451.9 MB, free: 2.328 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003415/0.2647, allocations: 15.98 kB / 452 MB, free: 2.312 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.576e-05/0.2647, allocations: 23.97 kB / 452 MB, free: 2.289 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.2647, allocations: 7.938 kB / 452 MB, free: 2.281 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0003986/0.2651, allocations: 327.1 kB / 452.3 MB, free: 1.961 MB / 350.1 MB
Notification: Performance of sort global known variables: time 1.61e-07/0.2651, allocations: 0 / 452.3 MB, free: 1.961 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0004657/0.2656, allocations: 131.9 kB / 452.4 MB, free: 1.832 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 (32):
 * Single equations (assignments): 32
 * 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.0001325/0.2657, allocations: 103.3 kB / 452.5 MB, free: 1.723 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.001011/0.2667, allocations: 0.5473 MB / 453.1 MB, free: 1.137 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.2668, allocations: 4 kB / 453.1 MB, free: 1.133 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002657/0.267, allocations: 115.9 kB / 453.2 MB, free: 1.02 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006823/0.2677, allocations: 129.8 kB / 453.3 MB, free: 0.8906 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/0.2694, allocations: 0.8914 MB / 454.2 MB, free: 15.97 MB / 366.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004498/0.2698, allocations: 0.8159 MB / 455 MB, free: 15.12 MB / 366.1 MB
Notification: Performance of simCode: alias equations: time 0.0002373/0.2701, allocations: 64.34 kB / 455.1 MB, free: 15.06 MB / 366.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.2702, allocations: 39.44 kB / 455.1 MB, free: 15.02 MB / 366.1 MB
Notification: Performance of SimCode: time 8.12e-07/0.2702, allocations: 0 / 455.1 MB, free: 15.02 MB / 366.1 MB
Notification: Performance of Templates: time 0.01701/0.2872, allocations: 8.46 MB / 463.6 MB, free: 6.703 MB / 366.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.7390977162867785]