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.001758/0.001758, allocations: 107.6 kB / 21.19 MB, free: 0.6484 MB / 14.72 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.001993/0.001993, allocations: 212.4 kB / 24.48 MB, free: 3.957 MB / 14.72 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 1.515/1.515, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001573/0.001573, allocations: 47.92 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2928, allocations: 53.36 MB / 432.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006162/0.299, allocations: 4.441 MB / 436.8 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002554/0.3015, allocations: 1.269 MB / 438 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000313/0.3019, allocations: 11.94 kB / 438 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004311/0.3023, allocations: 158.6 kB / 438.2 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006495/0.3029, allocations: 325.2 kB / 438.5 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004509/0.3034, allocations: 227.7 kB / 438.7 MB, free: 280 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001294/0.3047, allocations: 1.16 MB / 439.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003908/0.3051, allocations: 234.6 kB / 440.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004963/0.3056, allocations: 454.4 kB / 440.6 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006119/0.3062, allocations: 0.498 MB / 441.1 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001551/0.3063, allocations: 104 kB / 441.2 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001881/0.3065, allocations: 104 kB / 441.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001829/0.3067, allocations: 215.3 kB / 441.5 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004511/0.3072, allocations: 450.1 kB / 441.9 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001213/0.3084, allocations: 1.194 MB / 443.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3084, allocations: 0 / 443.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3084, allocations: 0 / 443.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.441e-05/0.3084, allocations: 4 kB / 443.1 MB, free: 11.86 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.00228/0.3107, allocations: 1.261 MB / 444.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.3107, allocations: 8.031 kB / 444.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001913/0.3109, allocations: 112.3 kB / 444.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009203/0.3118, allocations: 0.4992 MB / 445 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003006/0.3121, allocations: 293.2 kB / 445.3 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.3122, allocations: 64.36 kB / 445.4 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/0.314, allocations: 1.597 MB / 446.9 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.314, allocations: 0 / 446.9 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.715e-05/0.3141, allocations: 28 kB / 447 MB, free: 7.594 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.674e-05/0.3141, allocations: 20 kB / 447 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/0.3153, allocations: 0.5478 MB / 447.5 MB, free: 7.023 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.00316/0.3184, allocations: 1.558 MB / 449.1 MB, free: 5.434 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001695/0.3201, allocations: 0.6988 MB / 449.8 MB, free: 4.727 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006521/0.3208, allocations: 334.4 kB / 450.1 MB, free: 4.398 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.86e-05/0.3209, allocations: 12.66 kB / 450.1 MB, free: 4.387 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.451e-05/0.3209, allocations: 47.2 kB / 450.2 MB, free: 4.328 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.424e-06/0.3209, allocations: 4 kB / 450.2 MB, free: 4.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004552/0.3255, allocations: 1.433 MB / 451.6 MB, free: 2.879 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004466/0.3259, allocations: 0.8234 MB / 452.4 MB, free: 1.859 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007618/0.3267, allocations: 0.5695 MB / 453 MB, free: 1.277 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.679e-05/0.3267, allocations: 45.7 kB / 453.1 MB, free: 1.227 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003263/0.3271, allocations: 337.2 kB / 453.4 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002591/0.3273, allocations: 269.7 kB / 453.7 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002762/0.3276, allocations: 146.7 kB / 453.8 MB, free: 492 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002316/0.3278, allocations: 382.7 kB / 454.2 MB, free: 100 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006288/0.3285, allocations: 330.9 kB / 454.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001363/0.3298, allocations: 1.365 MB / 455.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/0.331, allocations: 0.631 MB / 456.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.331, allocations: 0 / 456.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002459/0.3335, allocations: 1.119 MB / 457.6 MB, free: 12.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.621e-05/0.3335, allocations: 89.03 kB / 457.7 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.3336, allocations: 4 kB / 457.7 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006909/0.3342, allocations: 231.3 kB / 457.9 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005551/0.3348, allocations: 131.8 kB / 458.1 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008439/0.3432, allocations: 6.387 MB / 464.4 MB, free: 4.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000886/0.3441, allocations: 87.56 kB / 464.5 MB, free: 4.895 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.721e-05/0.3442, allocations: 35.92 kB / 464.6 MB, free: 4.859 MB / 366.1 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.0003751/0.3446, allocations: 209.7 kB / 464.8 MB, free: 4.645 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/0.3447, allocations: 83.53 kB / 464.8 MB, free: 4.562 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001675/0.3449, allocations: 90.75 kB / 464.9 MB, free: 4.473 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.3449, allocations: 8 kB / 464.9 MB, free: 4.465 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.3449, allocations: 3.938 kB / 464.9 MB, free: 4.461 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002255/0.3472, allocations: 1.178 MB / 466.1 MB, free: 3.168 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003576/0.3507, allocations: 1.613 MB / 467.7 MB, free: 1.496 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.3507, allocations: 0 / 467.7 MB, free: 1.496 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006363/0.3514, allocations: 127.8 kB / 467.9 MB, free: 1.371 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005574/0.3519, allocations: 202.6 kB / 468.1 MB, free: 1.164 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.649e-05/0.352, allocations: 12.19 kB / 468.1 MB, free: 1.152 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006299/0.3583, allocations: 4.909 MB / 473 MB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.3583, allocations: 0 / 473 MB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003044/0.3613, allocations: 1.313 MB / 474.3 MB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003862/0.3617, allocations: 159.2 kB / 474.5 MB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.3618, allocations: 20 kB / 474.5 MB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005672/0.3624, allocations: 39.95 kB / 474.5 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001699/0.3626, allocations: 64.48 kB / 474.6 MB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.377e-05/0.3626, allocations: 20.19 kB / 474.6 MB, free: 10.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005324/0.3631, allocations: 406.8 kB / 475 MB, free: 9.906 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3631, allocations: 0 / 475 MB, free: 9.906 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009173/0.3641, allocations: 287.7 kB / 475.3 MB, free: 9.625 MB / 382.1 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.000178/0.3642, allocations: 131.1 kB / 475.4 MB, free: 9.484 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002112/0.3663, allocations: 1.329 MB / 476.7 MB, free: 8.047 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.3663, allocations: 4 kB / 476.7 MB, free: 8.043 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001029/0.3674, allocations: 0.6756 MB / 477.4 MB, free: 7.332 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009483/0.3683, allocations: 211 kB / 477.6 MB, free: 7.125 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003077/0.3714, allocations: 1.664 MB / 479.3 MB, free: 5.414 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.3718, allocations: 345.3 kB / 479.6 MB, free: 5.051 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001929/0.3719, allocations: 63.42 kB / 479.7 MB, free: 4.988 MB / 382.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3719, allocations: 0 / 479.7 MB, free: 4.988 MB / 382.1 MB Notification: Performance of Templates: time 0.02704/0.399, allocations: 22.22 MB / 0.4901 GB, free: 14.84 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.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: 9.599288519995753]