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.001375/0.001375, allocations: 118.9 kB / 17.79 MB, free: 5.285 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.001488/0.001488, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.495/1.495, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.001591/0.001591, allocations: 51.92 kB / 373.5 MB, free: 9.707 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09334/0.09493, allocations: 53.34 MB / 426.8 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.1895/0.2844, allocations: 4.964 MB / 431.8 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00207/0.2865, allocations: 1.324 MB / 433.1 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002698/0.2867, allocations: 15.88 kB / 433.1 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003679/0.2871, allocations: 165.6 kB / 433.3 MB, free: 7.969 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005287/0.2876, allocations: 323.3 kB / 433.6 MB, free: 7.828 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003587/0.288, allocations: 226.7 kB / 433.8 MB, free: 7.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009461/0.2889, allocations: 1.162 MB / 435 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003407/0.2893, allocations: 229.9 kB / 435.2 MB, free: 7.457 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004699/0.2897, allocations: 456.1 kB / 435.6 MB, free: 7.371 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005913/0.2903, allocations: 0.4984 MB / 436.1 MB, free: 7.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001624/0.2905, allocations: 101.8 kB / 436.2 MB, free: 7.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001954/0.2907, allocations: 107.5 kB / 436.3 MB, free: 7.266 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001727/0.2909, allocations: 218.3 kB / 436.6 MB, free: 7.148 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004826/0.2913, allocations: 0.5164 MB / 437.1 MB, free: 6.852 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001295/0.2926, allocations: 1.184 MB / 438.3 MB, free: 6.414 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2926, allocations: 1.438 kB / 438.3 MB, free: 6.414 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2926, allocations: 0 / 438.3 MB, free: 6.414 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.755e-05/0.2927, allocations: 0 / 438.3 MB, free: 6.414 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.002265/0.2949, allocations: 1.343 MB / 439.6 MB, free: 5.473 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.295, allocations: 9.469 kB / 439.6 MB, free: 5.473 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002066/0.2952, allocations: 111.1 kB / 439.7 MB, free: 5.422 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007478/0.2959, allocations: 0.5481 MB / 440.3 MB, free: 5.023 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001999/0.2961, allocations: 147.5 kB / 440.4 MB, free: 4.906 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.2962, allocations: 55.5 kB / 440.5 MB, free: 4.891 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00137/0.2976, allocations: 0.8472 MB / 441.3 MB, free: 4.348 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/0.2976, allocations: 0 / 441.3 MB, free: 4.348 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.703e-05/0.2977, allocations: 28.94 kB / 441.3 MB, free: 4.328 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.612e-05/0.2977, allocations: 14.3 kB / 441.4 MB, free: 4.328 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001231/0.2989, allocations: 0.558 MB / 441.9 MB, free: 4.145 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.00343/0.3024, allocations: 2.101 MB / 444 MB, free: 2.941 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001786/0.3042, allocations: 0.9129 MB / 444.9 MB, free: 2.398 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006897/0.3048, allocations: 341.7 kB / 445.3 MB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.097e-05/0.3049, allocations: 14.73 kB / 445.3 MB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.3049, allocations: 46.19 kB / 445.3 MB, free: 2.223 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.405e-06/0.3049, allocations: 0 / 445.3 MB, free: 2.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.005045/0.31, allocations: 1.735 MB / 447.1 MB, free: 1.398 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001506/0.3101, allocations: 0.823 MB / 447.9 MB, free: 404 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008039/0.3109, allocations: 0.6387 MB / 448.5 MB, free: 108 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.634e-05/0.311, allocations: 46.27 kB / 448.6 MB, free: 64 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003233/0.3114, allocations: 333.6 kB / 448.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002712/0.3116, allocations: 271.6 kB / 449.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002795/0.3119, allocations: 146 kB / 449.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002207/0.3121, allocations: 396.5 kB / 449.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006095/0.3127, allocations: 248.7 kB / 449.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009109/0.3136, allocations: 0.5203 MB / 450.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001333/0.315, allocations: 0.6362 MB / 451.1 MB, free: 14.31 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.207e-06/0.315, allocations: 1.594 kB / 451.1 MB, free: 14.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002691/0.3177, allocations: 1.043 MB / 452.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.502e-05/0.3178, allocations: 89.95 kB / 452.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.3178, allocations: 5.625 kB / 452.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007771/0.3185, allocations: 236.8 kB / 452.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000624/0.3192, allocations: 129.1 kB / 452.6 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009191/0.3284, allocations: 6.928 MB / 459.5 MB, free: 7.359 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/0.3294, allocations: 92 kB / 459.6 MB, free: 7.312 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.106e-05/0.3294, allocations: 22.45 kB / 459.6 MB, free: 7.309 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.0004115/0.3298, allocations: 220.2 kB / 459.8 MB, free: 7.129 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001721/0.33, allocations: 95.16 kB / 459.9 MB, free: 7.082 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002195/0.3302, allocations: 87.69 kB / 460 MB, free: 7.016 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.3302, allocations: 10.88 kB / 460 MB, free: 7.012 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/0.3303, allocations: 0 / 460 MB, free: 7.012 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002551/0.3328, allocations: 1.182 MB / 461.2 MB, free: 6.223 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004088/0.3369, allocations: 1.856 MB / 463.1 MB, free: 5.156 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.3369, allocations: 1.438 kB / 463.1 MB, free: 5.156 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000676/0.3376, allocations: 128.5 kB / 463.2 MB, free: 5.125 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006044/0.3382, allocations: 202.7 kB / 463.4 MB, free: 5.023 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.658e-05/0.3382, allocations: 20.55 kB / 463.4 MB, free: 5.008 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007032/0.3453, allocations: 5.321 MB / 468.7 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.3453, allocations: 5 kB / 468.7 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003361/0.3486, allocations: 1.312 MB / 470 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004902/0.3491, allocations: 240.9 kB / 470.3 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/0.3492, allocations: 20.47 kB / 470.3 MB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006666/0.3499, allocations: 39.69 kB / 470.3 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001794/0.3501, allocations: 61.83 kB / 470.4 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.85e-05/0.3501, allocations: 25.73 kB / 470.4 MB, free: 14.9 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006542/0.3508, allocations: 459.2 kB / 470.9 MB, free: 14.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3508, allocations: 3.938 kB / 470.9 MB, free: 14.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00101/0.3518, allocations: 282.3 kB / 471.1 MB, free: 14.6 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.0001874/0.352, allocations: 124.6 kB / 471.3 MB, free: 14.49 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002224/0.3542, allocations: 1.268 MB / 472.5 MB, free: 13.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.3542, allocations: 1.188 kB / 472.5 MB, free: 13.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001101/0.3553, allocations: 0.6679 MB / 473.2 MB, free: 13.01 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.3564, allocations: 228.3 kB / 473.4 MB, free: 12.89 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003139/0.3595, allocations: 1.623 MB / 475.1 MB, free: 11.85 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005699/0.3601, allocations: 0.9347 MB / 476 MB, free: 11.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004262/0.3605, allocations: 110.2 kB / 476.1 MB, free: 10.99 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001666/0.3607, allocations: 64.16 kB / 476.2 MB, free: 10.98 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3607, allocations: 0 / 476.2 MB, free: 10.98 MB / 382.1 MB Notification: Performance of Templates: time 0.03124/0.3919, allocations: 18.26 MB / 494.4 MB, free: 10.67 MB / 398.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins/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: 5.373869080096483]