Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 80.92 kB / 22.29 MB, free: 2.207 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 167 kB / 25.7 MB, free: 8.402 MB / 18.57 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 0.8892/0.8892, allocations: 158.6 MB / 187.6 MB, free: 2.777 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 251.5 MB, free: 7.293 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.837e-05/1.98e-05, allocations: 6.25 kB / 251.5 MB, free: 7.285 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004203/0.004223, allocations: 3.475 MB / 255 MB, free: 3.789 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.005621, allocations: 0.9974 MB / 256 MB, free: 2.781 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001569/0.005778, allocations: 11.94 kB / 256 MB, free: 2.77 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002457/0.006024, allocations: 107.1 kB / 256.1 MB, free: 2.664 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002901/0.006314, allocations: 206.2 kB / 256.3 MB, free: 2.461 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002112/0.006525, allocations: 127.8 kB / 256.4 MB, free: 2.336 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004936/0.007019, allocations: 0.6611 MB / 257.1 MB, free: 1.672 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001697/0.007189, allocations: 121.4 kB / 257.2 MB, free: 1.539 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002672/0.007456, allocations: 379.2 kB / 257.6 MB, free: 1.168 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002024/0.007658, allocations: 195.5 kB / 257.8 MB, free: 0.9766 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.555e-05/0.007714, allocations: 52 kB / 257.8 MB, free: 0.9258 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.286e-05/0.007767, allocations: 52 kB / 257.9 MB, free: 0.875 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.133e-05/0.007838, allocations: 123.5 kB / 258 MB, free: 0.7539 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001398/0.007978, allocations: 207.6 kB / 258.2 MB, free: 0.5508 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003355/0.008313, allocations: 422.5 kB / 258.6 MB, free: 140 kB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.008315, allocations: 4 kB / 258.6 MB, free: 136 kB / 234.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.008316, allocations: 3.938 kB / 258.6 MB, free: 132 kB / 234.7 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.008322, allocations: 4 kB / 258.6 MB, free: 128 kB / 234.7 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.0007562/0.009078, allocations: 0.7386 MB / 259.4 MB, free: 15.35 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.009108, allocations: 19.92 kB / 259.4 MB, free: 15.33 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.057e-05/0.009189, allocations: 72.88 kB / 259.5 MB, free: 15.26 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002793/0.009468, allocations: 267.8 kB / 259.7 MB, free: 14.98 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.632e-05/0.009544, allocations: 114.3 kB / 259.8 MB, free: 14.85 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.34e-05/0.009588, allocations: 40.38 kB / 259.9 MB, free: 14.81 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004193/0.01001, allocations: 0.7341 MB / 260.6 MB, free: 13.92 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.01002, allocations: 192 / 260.6 MB, free: 13.92 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.539e-05/0.01004, allocations: 20.12 kB / 260.6 MB, free: 13.9 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.01005, allocations: 12 kB / 260.6 MB, free: 13.89 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/0.01019, allocations: 107.1 kB / 260.7 MB, free: 13.79 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009125/0.01111, allocations: 0.6596 MB / 261.4 MB, free: 13.1 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004499/0.01156, allocations: 218.6 kB / 261.6 MB, free: 12.88 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.157e-05/0.01163, allocations: 68.69 kB / 261.7 MB, free: 12.81 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.01165, allocations: 4 kB / 261.7 MB, free: 12.8 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.01167, allocations: 42.56 kB / 261.7 MB, free: 12.75 MB / 250.7 MB Notification: Performance of pre-optimization done (n=32): time 1.222e-06/0.01168, allocations: 0 / 261.7 MB, free: 12.75 MB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.0003717/0.01205, allocations: 231.2 kB / 261.9 MB, free: 12.52 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/0.01217, allocations: 460.9 kB / 262.4 MB, free: 11.96 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.01238, allocations: 339.2 kB / 262.7 MB, free: 11.62 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.0124, allocations: 33.7 kB / 262.8 MB, free: 11.58 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.446e-05/0.01248, allocations: 193.5 kB / 263 MB, free: 11.38 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.75e-05/0.01254, allocations: 119 kB / 263.1 MB, free: 11.27 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.643e-05/0.01262, allocations: 77.94 kB / 263.1 MB, free: 11.18 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.248e-05/0.01271, allocations: 350.7 kB / 263.5 MB, free: 10.83 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.611e-05/0.01278, allocations: 66.33 kB / 263.6 MB, free: 10.76 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/0.013, allocations: 0.5658 MB / 264.1 MB, free: 10.04 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.01314, allocations: 161.1 kB / 264.3 MB, free: 9.875 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.01315, allocations: 7.938 kB / 264.3 MB, free: 9.867 MB / 250.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002314/0.01338, allocations: 262.5 kB / 264.5 MB, free: 9.586 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.0134, allocations: 33.7 kB / 264.6 MB, free: 9.547 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.01341, allocations: 0 / 264.6 MB, free: 9.547 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.331e-05/0.01349, allocations: 41.67 kB / 264.6 MB, free: 9.5 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.01364, allocations: 67.91 kB / 264.7 MB, free: 9.434 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001159/0.0148, allocations: 2.407 MB / 267.1 MB, free: 6.855 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.01495, allocations: 39.78 kB / 267.1 MB, free: 6.816 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.01496, allocations: 16.05 kB / 267.1 MB, free: 6.801 MB / 250.7 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 9.954e-05/0.01506, allocations: 129.8 kB / 267.3 MB, free: 6.664 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.461e-05/0.01511, allocations: 39.95 kB / 267.3 MB, free: 6.625 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.716e-05/0.01515, allocations: 48.38 kB / 267.4 MB, free: 6.57 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.01516, allocations: 7.938 kB / 267.4 MB, free: 6.562 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.01516, allocations: 0 / 267.4 MB, free: 6.562 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002417/0.0154, allocations: 0.5177 MB / 267.9 MB, free: 5.941 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000496/0.0159, allocations: 0.4983 MB / 268.4 MB, free: 5.414 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.0159, allocations: 0 / 268.4 MB, free: 5.414 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001586/0.01606, allocations: 67.89 kB / 268.4 MB, free: 5.348 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.01606, allocations: 7.938 kB / 268.5 MB, free: 5.34 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.01607, allocations: 4 kB / 268.5 MB, free: 5.336 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.01607, allocations: 4 kB / 268.5 MB, free: 5.332 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.01608, allocations: 0 / 268.5 MB, free: 5.332 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002502/0.01633, allocations: 304.8 kB / 268.8 MB, free: 5.02 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.942e-05/0.0164, allocations: 47.69 kB / 268.8 MB, free: 4.973 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.173e-05/0.01644, allocations: 15.97 kB / 268.8 MB, free: 4.957 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.01656, allocations: 23.86 kB / 268.8 MB, free: 4.934 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.416e-05/0.01659, allocations: 19.95 kB / 268.9 MB, free: 4.914 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.0166, allocations: 11.98 kB / 268.9 MB, free: 4.902 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.594e-05/0.01669, allocations: 140.7 kB / 269 MB, free: 4.77 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01669, allocations: 0 / 269 MB, free: 4.77 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002346/0.01693, allocations: 135.8 kB / 269.1 MB, free: 4.637 MB / 250.7 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 8.342e-05/0.01701, allocations: 84.36 kB / 269.2 MB, free: 4.547 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003793/0.01739, allocations: 481.7 kB / 269.7 MB, free: 4.031 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.0174, allocations: 8 kB / 269.7 MB, free: 4.023 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.424e-05/0.01747, allocations: 76.72 kB / 269.8 MB, free: 3.945 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000304/0.01778, allocations: 133.3 kB / 269.9 MB, free: 3.809 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.01888, allocations: 0.7738 MB / 270.7 MB, free: 3.004 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.46e-05/0.01895, allocations: 105.9 kB / 270.8 MB, free: 2.883 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001357/0.01908, allocations: 55.38 kB / 270.8 MB, free: 2.824 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002947/0.01938, allocations: 229.2 kB / 271.1 MB, free: 2.602 MB / 250.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01938, allocations: 4 kB / 271.1 MB, free: 2.598 MB / 250.7 MB Notification: Performance of Templates: time 0.01004/0.02942, allocations: 8.985 MB / 280.1 MB, free: 9.652 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.832345793955028]