Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009439/0.0009439, allocations: 78.28 kB / 21.42 MB, free: 3.078 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009014/0.0009014, allocations: 150.8 kB / 24.81 MB, free: 9.34 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9753/0.9753, allocations: 173.3 MB / 201.4 MB, free: 9.254 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 268.4 MB, free: 6.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.977e-05/2.117e-05, allocations: 6.25 kB / 268.4 MB, free: 6.238 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.01018/0.0102, allocations: 4.851 MB / 273.3 MB, free: 1.363 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004657/0.01486, allocations: 1.273 MB / 274.5 MB, free: 84 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003145/0.01517, allocations: 15.88 kB / 274.5 MB, free: 68 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003858/0.01556, allocations: 154.7 kB / 274.7 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006044/0.01616, allocations: 352.8 kB / 275 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003842/0.01655, allocations: 227.5 kB / 275.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009703/0.01752, allocations: 1.206 MB / 276.5 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000307/0.01783, allocations: 226.5 kB / 276.7 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006366/0.01846, allocations: 0.6743 MB / 277.4 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004408/0.0189, allocations: 374.9 kB / 277.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001241/0.01903, allocations: 100 kB / 277.8 MB, free: 12.76 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001472/0.01917, allocations: 104 kB / 277.9 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001488/0.01932, allocations: 223.2 kB / 278.1 MB, free: 12.44 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000341/0.01966, allocations: 379.2 kB / 278.5 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007928/0.02046, allocations: 0.7785 MB / 279.3 MB, free: 11.29 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.02046, allocations: 0 / 279.3 MB, free: 11.29 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.02046, allocations: 3.938 kB / 279.3 MB, free: 11.28 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.02047, allocations: 4 kB / 279.3 MB, free: 11.28 MB / 266.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.001704/0.02218, allocations: 1.369 MB / 280.7 MB, free: 9.852 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.02221, allocations: 8.031 kB / 280.7 MB, free: 9.844 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001897/0.0224, allocations: 160.3 kB / 280.8 MB, free: 9.688 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007642/0.02317, allocations: 468.1 kB / 281.3 MB, free: 9.203 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001775/0.02334, allocations: 293.2 kB / 281.6 MB, free: 8.859 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.463e-05/0.02344, allocations: 76.33 kB / 281.7 MB, free: 8.785 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009941/0.02443, allocations: 1.484 MB / 283.1 MB, free: 6.977 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.02445, allocations: 192 / 283.1 MB, free: 6.977 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.087e-05/0.0245, allocations: 32.12 kB / 283.2 MB, free: 6.945 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.54e-05/0.02451, allocations: 16 kB / 283.2 MB, free: 6.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003865/0.0249, allocations: 246.2 kB / 283.4 MB, free: 6.691 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002385/0.02729, allocations: 1.421 MB / 284.8 MB, free: 5.238 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000822/0.02811, allocations: 413.2 kB / 285.3 MB, free: 4.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002979/0.02841, allocations: 177.3 kB / 285.4 MB, free: 4.645 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.852e-05/0.02845, allocations: 25.31 kB / 285.4 MB, free: 4.621 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/0.02849, allocations: 50.05 kB / 285.5 MB, free: 4.559 MB / 266.7 MB Notification: Performance of pre-optimization done (n=73): time 2.435e-06/0.02849, allocations: 4 kB / 285.5 MB, free: 4.555 MB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.002546/0.03104, allocations: 0.9602 MB / 286.5 MB, free: 3.574 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002481/0.03129, allocations: 0.8273 MB / 287.3 MB, free: 2.551 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004652/0.03175, allocations: 0.557 MB / 287.8 MB, free: 1.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.94e-05/0.0318, allocations: 49.64 kB / 287.9 MB, free: 1.926 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000471/0.03227, allocations: 407.8 kB / 288.3 MB, free: 1.52 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001607/0.03243, allocations: 261.7 kB / 288.5 MB, free: 1.262 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001942/0.03263, allocations: 152.3 kB / 288.7 MB, free: 1.105 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001875/0.03282, allocations: 0.5702 MB / 289.3 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002038/0.03302, allocations: 175 kB / 289.4 MB, free: 340 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006984/0.03372, allocations: 1.271 MB / 290.7 MB, free: 14.71 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004944/0.03421, allocations: 386.6 kB / 291.1 MB, free: 14.3 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.03422, allocations: 0 / 291.1 MB, free: 14.3 MB / 282.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001291/0.03551, allocations: 0.8063 MB / 291.9 MB, free: 13.44 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.145e-05/0.03556, allocations: 85.11 kB / 292 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.03556, allocations: 3.938 kB / 292 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005177/0.03608, allocations: 178.7 kB / 292.2 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003683/0.03645, allocations: 131.8 kB / 292.3 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005314/0.04176, allocations: 7.684 MB / 300 MB, free: 4.875 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000474/0.04224, allocations: 87.52 kB / 300.1 MB, free: 4.789 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.521e-05/0.04228, allocations: 16 kB / 300.1 MB, free: 4.773 MB / 282.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.0002228/0.04251, allocations: 208.5 kB / 300.3 MB, free: 4.559 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001526/0.04266, allocations: 107.5 kB / 300.4 MB, free: 4.453 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/0.04278, allocations: 86.75 kB / 300.5 MB, free: 4.363 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.04278, allocations: 8 kB / 300.5 MB, free: 4.355 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.04279, allocations: 0 / 300.5 MB, free: 4.355 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001153/0.04394, allocations: 0.8781 MB / 301.3 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002469/0.04641, allocations: 1.256 MB / 302.6 MB, free: 2.047 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.04642, allocations: 4 kB / 302.6 MB, free: 2.043 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004789/0.04689, allocations: 123.8 kB / 302.7 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004318/0.04733, allocations: 151.1 kB / 302.9 MB, free: 1.762 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.559e-05/0.04737, allocations: 16 kB / 302.9 MB, free: 1.746 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1108/0.1582, allocations: 5.821 MB / 308.7 MB, free: 38.41 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.1582, allocations: 1.219 kB / 308.7 MB, free: 38.41 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001474/0.1597, allocations: 0.8749 MB / 309.6 MB, free: 38.15 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002841/0.16, allocations: 158 kB / 309.7 MB, free: 38.15 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.261e-05/0.16, allocations: 15.06 kB / 309.8 MB, free: 38.15 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003865/0.1604, allocations: 36.77 kB / 309.8 MB, free: 38.15 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/0.1606, allocations: 66.53 kB / 309.9 MB, free: 38.15 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.208e-05/0.1606, allocations: 15 kB / 309.9 MB, free: 38.15 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002945/0.1609, allocations: 357.6 kB / 310.2 MB, free: 38.02 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1609, allocations: 0.8438 kB / 310.2 MB, free: 38.02 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008257/0.1617, allocations: 287.5 kB / 310.5 MB, free: 38.02 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.0001375/0.1619, allocations: 127.5 kB / 310.6 MB, free: 37.93 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001038/0.1629, allocations: 1.324 MB / 312 MB, free: 36.94 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.1629, allocations: 2.875 kB / 312 MB, free: 36.94 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000509/0.1634, allocations: 0.7254 MB / 312.7 MB, free: 36.41 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007708/0.1642, allocations: 237.5 kB / 312.9 MB, free: 36.4 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002326/0.1665, allocations: 1.432 MB / 314.3 MB, free: 35.71 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001644/0.1667, allocations: 168.7 kB / 314.5 MB, free: 35.63 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003551/0.167, allocations: 97.09 kB / 314.6 MB, free: 35.61 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007651/0.1678, allocations: 424.3 kB / 315 MB, free: 35.54 MB / 282.7 MB Notification: Performance of SimCode: time 7.61e-07/0.1678, allocations: 0 / 315 MB, free: 35.54 MB / 282.7 MB Notification: Performance of Templates: time 0.0251/0.1929, allocations: 19.68 MB / 334.7 MB, free: 22.82 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.151505800895393]