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.001659/0.001659, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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: 213.2 kB / 24.48 MB, free: 3.84 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.494/1.494, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.002277/0.002277, allocations: 47.92 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.2743, allocations: 53.36 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006216/0.2805, allocations: 4.434 MB / 436.8 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002858/0.2834, allocations: 1.269 MB / 438 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000522/0.2839, allocations: 11.94 kB / 438 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005021/0.2844, allocations: 158.6 kB / 438.2 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008168/0.2852, allocations: 329.2 kB / 438.5 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005126/0.2857, allocations: 223.7 kB / 438.7 MB, free: 280 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001497/0.2872, allocations: 1.16 MB / 439.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000432/0.2877, allocations: 218.6 kB / 440.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006499/0.2883, allocations: 458.4 kB / 440.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006192/0.2889, allocations: 441.9 kB / 441 MB, free: 14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001657/0.2891, allocations: 104 kB / 441.1 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001932/0.2893, allocations: 104 kB / 441.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002055/0.2895, allocations: 219.3 kB / 441.4 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005449/0.29, allocations: 442.2 kB / 441.8 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001436/0.2915, allocations: 1.201 MB / 443 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2915, allocations: 0 / 443 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2915, allocations: 0 / 443 MB, free: 11.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.006e-05/0.2915, allocations: 0 / 443 MB, free: 11.95 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.002576/0.2941, allocations: 1.265 MB / 444.3 MB, free: 10.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.2941, allocations: 8.031 kB / 444.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000204/0.2943, allocations: 112.3 kB / 444.4 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009964/0.2953, allocations: 0.4914 MB / 444.9 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003027/0.2956, allocations: 293.2 kB / 445.2 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.2957, allocations: 60.38 kB / 445.3 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001933/0.2977, allocations: 1.601 MB / 446.9 MB, free: 7.707 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.683e-05/0.2977, allocations: 3.984 kB / 446.9 MB, free: 7.703 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.356e-05/0.2978, allocations: 28 kB / 446.9 MB, free: 7.676 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.056e-05/0.2978, allocations: 16 kB / 446.9 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/0.299, allocations: 0.5478 MB / 447.5 MB, free: 7.109 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.003554/0.3026, allocations: 1.558 MB / 449 MB, free: 5.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001786/0.3044, allocations: 0.7004 MB / 449.7 MB, free: 4.812 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007127/0.3051, allocations: 338.4 kB / 450 MB, free: 4.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.834e-05/0.3051, allocations: 12.66 kB / 450.1 MB, free: 4.469 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.649e-05/0.3052, allocations: 47.16 kB / 450.1 MB, free: 4.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 3.146e-06/0.3052, allocations: 0 / 450.1 MB, free: 4.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004915/0.3101, allocations: 1.433 MB / 451.5 MB, free: 2.965 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000515/0.3106, allocations: 0.8272 MB / 452.4 MB, free: 1.941 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008637/0.3115, allocations: 0.5656 MB / 452.9 MB, free: 1.363 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001341/0.3116, allocations: 45.7 kB / 453 MB, free: 1.312 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003066/0.3119, allocations: 337.2 kB / 453.3 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002758/0.3122, allocations: 273.7 kB / 453.6 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000249/0.3124, allocations: 142.7 kB / 453.7 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002042/0.3126, allocations: 386.7 kB / 454.1 MB, free: 184 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006489/0.3133, allocations: 331 kB / 454.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001297/0.3146, allocations: 1.363 MB / 455.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/0.3158, allocations: 0.6349 MB / 456.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.3158, allocations: 0 / 456.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002751/0.3186, allocations: 1.116 MB / 457.5 MB, free: 12.33 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.208e-05/0.3187, allocations: 85.09 kB / 457.6 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.3187, allocations: 8 kB / 457.6 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007795/0.3194, allocations: 231.2 kB / 457.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000605/0.32, allocations: 127.8 kB / 458 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008413/0.3285, allocations: 6.391 MB / 464.4 MB, free: 5.062 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009783/0.3294, allocations: 87.56 kB / 464.4 MB, free: 4.977 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.888e-05/0.3295, allocations: 28.05 kB / 464.5 MB, free: 4.949 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.000407/0.3299, allocations: 223.9 kB / 464.7 MB, free: 4.723 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001636/0.3301, allocations: 83.53 kB / 464.8 MB, free: 4.641 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000185/0.3303, allocations: 82.75 kB / 464.9 MB, free: 4.559 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/0.3303, allocations: 8 kB / 464.9 MB, free: 4.551 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.3303, allocations: 0 / 464.9 MB, free: 4.551 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002406/0.3327, allocations: 1.186 MB / 466 MB, free: 3.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003776/0.3365, allocations: 1.605 MB / 467.7 MB, free: 1.586 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.3365, allocations: 0 / 467.7 MB, free: 1.586 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006476/0.3371, allocations: 135.8 kB / 467.8 MB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005747/0.3377, allocations: 198.5 kB / 468 MB, free: 1.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.068e-05/0.3377, allocations: 16 kB / 468 MB, free: 1.234 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006559/0.3443, allocations: 4.898 MB / 472.9 MB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3443, allocations: 4.188 kB / 472.9 MB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00329/0.3476, allocations: 1.305 MB / 474.2 MB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004919/0.3481, allocations: 163.2 kB / 474.4 MB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/0.3482, allocations: 20.19 kB / 474.4 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006082/0.3488, allocations: 43.97 kB / 474.4 MB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001929/0.349, allocations: 64.66 kB / 474.5 MB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-05/0.349, allocations: 20 kB / 474.5 MB, free: 10.39 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005614/0.3496, allocations: 406.8 kB / 474.9 MB, free: 9.996 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3496, allocations: 0 / 474.9 MB, free: 9.996 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009508/0.3506, allocations: 287.7 kB / 475.2 MB, free: 9.715 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.0001984/0.3508, allocations: 127.1 kB / 475.3 MB, free: 9.578 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00223/0.353, allocations: 1.341 MB / 476.6 MB, free: 8.125 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.353, allocations: 4 kB / 476.7 MB, free: 8.121 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001014/0.354, allocations: 0.6678 MB / 477.3 MB, free: 7.418 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009634/0.355, allocations: 211 kB / 477.5 MB, free: 7.211 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00305/0.358, allocations: 1.668 MB / 479.2 MB, free: 5.496 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.3584, allocations: 345.3 kB / 479.5 MB, free: 5.133 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000221/0.3586, allocations: 71.36 kB / 479.6 MB, free: 5.062 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3586, allocations: 0 / 479.6 MB, free: 5.062 MB / 382.1 MB Notification: Performance of Templates: time 0.02859/0.3872, allocations: 22.21 MB / 0.4901 GB, free: 14.92 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.650988633744419]