Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001014/0.001014, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.001188/0.001188, allocations: 165.7 kB / 25.33 MB, free: 8.582 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.9204/0.9204, allocations: 158.6 MB / 187.2 MB, free: 2.926 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.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 251 MB, free: 7.387 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.954e-05/2.091e-05, allocations: 2.312 kB / 251 MB, free: 7.383 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.004166/0.004187, allocations: 4.939 MB / 256 MB, free: 2.422 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001928/0.006114, allocations: 1.305 MB / 257.3 MB, free: 1.102 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000257/0.006371, allocations: 19.88 kB / 257.3 MB, free: 1.082 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000336/0.006707, allocations: 162.6 kB / 257.5 MB, free: 0.9219 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004661/0.007173, allocations: 349 kB / 257.8 MB, free: 0.5781 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003674/0.007541, allocations: 223.5 kB / 258 MB, free: 368 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009212/0.008462, allocations: 1.199 MB / 259.2 MB, free: 15.16 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002843/0.008746, allocations: 234.4 kB / 259.5 MB, free: 14.91 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005938/0.00934, allocations: 0.6705 MB / 260.1 MB, free: 14.24 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003718/0.009712, allocations: 382.9 kB / 260.5 MB, free: 13.87 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000102/0.009814, allocations: 100 kB / 260.6 MB, free: 13.77 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.009922, allocations: 104 kB / 260.7 MB, free: 13.67 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.01004, allocations: 227.2 kB / 260.9 MB, free: 13.45 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002597/0.0103, allocations: 371.2 kB / 261.3 MB, free: 13.08 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006201/0.01092, allocations: 0.7824 MB / 262.1 MB, free: 12.3 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.01092, allocations: 0 / 262.1 MB, free: 12.3 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.01092, allocations: 0 / 262.1 MB, free: 12.3 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.275e-05/0.01093, allocations: 4 kB / 262.1 MB, free: 12.29 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.00144/0.01237, allocations: 1.361 MB / 263.4 MB, free: 10.88 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.01241, allocations: 11.98 kB / 263.4 MB, free: 10.86 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000173/0.01258, allocations: 156.3 kB / 263.6 MB, free: 10.71 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005105/0.01309, allocations: 488 kB / 264.1 MB, free: 10.21 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001841/0.01327, allocations: 301.2 kB / 264.4 MB, free: 9.859 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.96e-05/0.01335, allocations: 72.38 kB / 264.4 MB, free: 9.789 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009618/0.01432, allocations: 1.515 MB / 265.9 MB, free: 7.949 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.01433, allocations: 192 / 265.9 MB, free: 7.949 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.772e-05/0.01438, allocations: 32.12 kB / 266 MB, free: 7.918 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.0144, allocations: 16 kB / 266 MB, free: 7.902 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004645/0.01486, allocations: 299.6 kB / 266.3 MB, free: 7.609 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001867/0.01673, allocations: 1.514 MB / 267.8 MB, free: 6.055 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00075/0.01748, allocations: 465.8 kB / 268.3 MB, free: 5.59 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002921/0.01777, allocations: 209.5 kB / 268.5 MB, free: 5.383 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.214e-05/0.01781, allocations: 12.66 kB / 268.5 MB, free: 5.367 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.01784, allocations: 57.92 kB / 268.5 MB, free: 5.301 MB / 250.7 MB Notification: Performance of pre-optimization done (n=73): time 1.913e-06/0.01785, allocations: 0 / 268.5 MB, free: 5.301 MB / 250.7 MB Notification: Performance of matching and sorting (n=73): time 0.001972/0.01982, allocations: 1.054 MB / 269.6 MB, free: 4.227 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002235/0.02004, allocations: 0.8234 MB / 270.4 MB, free: 3.203 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004308/0.02047, allocations: 0.5729 MB / 271 MB, free: 2.617 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.453e-05/0.02052, allocations: 45.7 kB / 271 MB, free: 2.566 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001957/0.02071, allocations: 407.9 kB / 271.4 MB, free: 2.16 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.02084, allocations: 257.7 kB / 271.7 MB, free: 1.906 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/0.02099, allocations: 152.3 kB / 271.8 MB, free: 1.75 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.02116, allocations: 0.5547 MB / 272.4 MB, free: 1.184 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002313/0.02139, allocations: 211 kB / 272.6 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005986/0.02199, allocations: 1.294 MB / 273.9 MB, free: 15.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000468/0.02245, allocations: 442.7 kB / 274.3 MB, free: 14.87 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.02246, allocations: 0 / 274.3 MB, free: 14.87 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001037/0.02349, allocations: 0.8766 MB / 275.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.449e-05/0.02354, allocations: 93.11 kB / 275.3 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.02354, allocations: 4 kB / 275.3 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004262/0.02397, allocations: 198.5 kB / 275.5 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002884/0.02426, allocations: 123.9 kB / 275.6 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004049/0.02831, allocations: 7.795 MB / 283.4 MB, free: 5.199 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003178/0.02863, allocations: 83.62 kB / 283.5 MB, free: 5.117 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.296e-05/0.02866, allocations: 20 kB / 283.5 MB, free: 5.098 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.000171/0.02883, allocations: 212.4 kB / 283.7 MB, free: 4.879 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.02894, allocations: 111.6 kB / 283.8 MB, free: 4.77 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.026e-05/0.02903, allocations: 86.75 kB / 283.9 MB, free: 4.68 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.02904, allocations: 11.98 kB / 283.9 MB, free: 4.668 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.02904, allocations: 0 / 283.9 MB, free: 4.668 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009232/0.02997, allocations: 0.9289 MB / 284.8 MB, free: 3.621 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001716/0.03168, allocations: 1.392 MB / 286.2 MB, free: 2.164 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.03168, allocations: 4 kB / 286.2 MB, free: 2.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003293/0.03201, allocations: 131.7 kB / 286.4 MB, free: 2.031 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003243/0.03234, allocations: 162.9 kB / 286.5 MB, free: 1.859 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.482e-05/0.03237, allocations: 19.98 kB / 286.5 MB, free: 1.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003236/0.03561, allocations: 5.919 MB / 292.5 MB, free: 11.55 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.03561, allocations: 0 / 292.5 MB, free: 11.55 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00119/0.0368, allocations: 0.9481 MB / 293.4 MB, free: 10.57 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002133/0.03701, allocations: 163.2 kB / 293.6 MB, free: 10.41 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.257e-05/0.03708, allocations: 20 kB / 293.6 MB, free: 10.39 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002645/0.03734, allocations: 31.98 kB / 293.6 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/0.03747, allocations: 60.53 kB / 293.7 MB, free: 10.3 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.333e-05/0.03749, allocations: 20 kB / 293.7 MB, free: 10.28 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002735/0.03777, allocations: 386.7 kB / 294.1 MB, free: 9.902 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.03777, allocations: 0 / 294.1 MB, free: 9.902 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005306/0.0383, allocations: 295.7 kB / 294.4 MB, free: 9.613 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.0001414/0.03844, allocations: 119.1 kB / 294.5 MB, free: 9.488 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001082/0.03952, allocations: 1.373 MB / 295.8 MB, free: 7.984 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.03953, allocations: 4 kB / 295.9 MB, free: 7.98 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004771/0.04, allocations: 0.7519 MB / 296.6 MB, free: 7.168 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005481/0.04055, allocations: 227.2 kB / 296.8 MB, free: 6.949 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0019/0.04245, allocations: 1.434 MB / 298.3 MB, free: 5.469 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001118/0.04256, allocations: 165 kB / 298.4 MB, free: 5.285 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002206/0.04278, allocations: 98 kB / 298.5 MB, free: 5.188 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.0429, allocations: 68.48 kB / 298.6 MB, free: 5.117 MB / 282.7 MB Notification: Performance of SimCode: time 1.062e-06/0.0429, allocations: 0 / 298.6 MB, free: 5.117 MB / 282.7 MB Notification: Performance of Templates: time 0.01928/0.06218, allocations: 19.42 MB / 318 MB, free: 1.695 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.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: 3.375899523962289]