Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.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.0007317/0.0007317, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009996/0.001731, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0009535/0.0009535, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009512/0.001905, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9595/0.9595, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0734/1.033, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.178e-05/1.285e-05, allocations: 2.312 kB / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.00366/0.003673, allocations: 4.954 MB / 249.7 MB, free: 9.242 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001949/0.005622, allocations: 1.355 MB / 251 MB, free: 7.879 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002551/0.005877, allocations: 11.94 kB / 251 MB, free: 7.867 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002415/0.006119, allocations: 166.5 kB / 251.2 MB, free: 7.703 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006279/0.006747, allocations: 349 kB / 251.5 MB, free: 7.359 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002753/0.007022, allocations: 227.6 kB / 251.7 MB, free: 7.137 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007686/0.007791, allocations: 1.211 MB / 253 MB, free: 5.926 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002427/0.008033, allocations: 228.5 kB / 253.2 MB, free: 5.688 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005432/0.008576, allocations: 0.7999 MB / 254 MB, free: 4.871 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003355/0.008912, allocations: 382.9 kB / 254.4 MB, free: 4.496 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.628e-05/0.009008, allocations: 100 kB / 254.5 MB, free: 4.398 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.009115, allocations: 104 kB / 254.6 MB, free: 4.297 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.767e-05/0.009213, allocations: 163.4 kB / 254.7 MB, free: 4.137 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002144/0.009428, allocations: 307.5 kB / 255 MB, free: 3.836 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005287/0.009956, allocations: 0.7006 MB / 255.7 MB, free: 3.133 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.098e-05/0.009967, allocations: 0 / 255.7 MB, free: 3.133 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.009968, allocations: 0 / 255.7 MB, free: 3.133 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.295e-05/0.009981, allocations: 0 / 255.7 MB, free: 3.133 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001268/0.01125, allocations: 1.427 MB / 257.1 MB, free: 1.66 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.753e-05/0.01128, allocations: 8.031 kB / 257.2 MB, free: 1.652 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/0.0114, allocations: 120.8 kB / 257.3 MB, free: 1.535 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003903/0.01179, allocations: 369.4 kB / 257.6 MB, free: 1.148 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001506/0.01194, allocations: 301.2 kB / 257.9 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.281e-05/0.01201, allocations: 80.27 kB / 258 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.01302, allocations: 1.414 MB / 259.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.01304, allocations: 192 / 259.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.795e-05/0.01308, allocations: 36.12 kB / 259.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.01309, allocations: 16 kB / 259.5 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002624/0.01335, allocations: 198.3 kB / 259.7 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001443/0.01479, allocations: 1.068 MB / 260.7 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004924/0.01529, allocations: 366.2 kB / 261.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001711/0.01546, allocations: 167 kB / 261.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.827e-05/0.01549, allocations: 20.59 kB / 261.3 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.01552, allocations: 51.22 kB / 261.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=73): time 1.573e-06/0.01552, allocations: 4 kB / 261.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.001448/0.01697, allocations: 0.8247 MB / 262.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.017, allocations: 64.06 kB / 262.2 MB, free: 12.15 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002701/0.01727, allocations: 479.1 kB / 262.7 MB, free: 11.67 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.825e-05/0.01731, allocations: 45.7 kB / 262.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.01741, allocations: 262.4 kB / 263 MB, free: 11.36 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/0.01754, allocations: 265.7 kB / 263.2 MB, free: 11.1 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/0.01767, allocations: 150.5 kB / 263.4 MB, free: 10.95 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.732e-05/0.01776, allocations: 382.6 kB / 263.8 MB, free: 10.56 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.01789, allocations: 163 kB / 263.9 MB, free: 10.39 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006795/0.01857, allocations: 1.172 MB / 265.1 MB, free: 8.906 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002899/0.01886, allocations: 378 kB / 265.5 MB, free: 8.508 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.01886, allocations: 4 kB / 265.5 MB, free: 8.504 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0006699/0.01953, allocations: 0.6687 MB / 266.1 MB, free: 7.781 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.304e-05/0.01958, allocations: 89.09 kB / 266.2 MB, free: 7.676 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.01958, allocations: 0 / 266.2 MB, free: 7.676 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003223/0.0199, allocations: 171.2 kB / 266.4 MB, free: 7.496 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003479/0.02025, allocations: 159.8 kB / 266.5 MB, free: 7.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002786/0.02304, allocations: 5.309 MB / 271.9 MB, free: 1.691 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002711/0.02331, allocations: 83.55 kB / 271.9 MB, free: 1.609 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/0.02333, allocations: 23.98 kB / 272 MB, free: 1.586 MB / 266.7 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 (70): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001382/0.02347, allocations: 157.8 kB / 272.1 MB, free: 1.422 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003194/0.02379, allocations: 75.92 kB / 272.2 MB, free: 1.348 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.692e-05/0.02387, allocations: 82.75 kB / 272.3 MB, free: 1.262 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.768e-06/0.02387, allocations: 11.98 kB / 272.3 MB, free: 1.25 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.02388, allocations: 0 / 272.3 MB, free: 1.25 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006158/0.02449, allocations: 0.784 MB / 273.1 MB, free: 360 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/0.02563, allocations: 0.9694 MB / 274 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.02563, allocations: 3.984 kB / 274 MB, free: 15.33 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003488/0.02598, allocations: 168.5 kB / 274.2 MB, free: 15.17 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001383/0.02612, allocations: 91.33 kB / 274.3 MB, free: 15.08 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002436/0.02636, allocations: 138.4 kB / 274.4 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.482e-05/0.02639, allocations: 23.92 kB / 274.4 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001975/0.02836, allocations: 4.014 MB / 278.5 MB, free: 10.64 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.02836, allocations: 8.031 kB / 278.5 MB, free: 10.63 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007572/0.02912, allocations: 0.7039 MB / 279.2 MB, free: 9.898 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.178e-05/0.02917, allocations: 20 kB / 279.2 MB, free: 9.879 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002422/0.02941, allocations: 35.97 kB / 279.2 MB, free: 9.844 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003382/0.02975, allocations: 60.48 kB / 279.3 MB, free: 9.785 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.02977, allocations: 15.98 kB / 279.3 MB, free: 9.77 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001515/0.02992, allocations: 220.4 kB / 279.5 MB, free: 9.555 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02992, allocations: 0 / 279.5 MB, free: 9.555 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000461/0.03039, allocations: 287.7 kB / 279.8 MB, free: 9.273 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001081/0.03049, allocations: 112.3 kB / 279.9 MB, free: 9.152 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007082/0.0312, allocations: 1.078 MB / 281 MB, free: 7.965 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.598e-05/0.03122, allocations: 15.98 kB / 281 MB, free: 7.949 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003874/0.03161, allocations: 0.5928 MB / 281.6 MB, free: 7.316 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009712/0.03258, allocations: 2.137 MB / 283.7 MB, free: 4.758 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008528/0.0411, allocations: 1.337 MB / 285.1 MB, free: 3.375 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.715e-05/0.0412, allocations: 161.2 kB / 285.2 MB, free: 3.199 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002367/0.04144, allocations: 98.3 kB / 285.3 MB, free: 3.102 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005251/0.04196, allocations: 381 kB / 285.7 MB, free: 2.73 MB / 282.7 MB Notification: Performance of SimCode: time 9.42e-07/0.04196, allocations: 0 / 285.7 MB, free: 2.73 MB / 282.7 MB Notification: Performance of Templates: time 0.1516/0.1936, allocations: 22.17 MB / 307.9 MB, free: 28.53 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1091477600857615]