Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001584/0.001584, allocations: 112.4 kB / 21.17 MB, free: 0.6172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001486/0.001486, allocations: 204.1 kB / 24.46 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.448/1.448, allocations: 230.5 MB / 258.1 MB, free: 8.125 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 63.83 kB / 378.7 MB, free: 2.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2402, allocations: 53.31 MB / 432 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006693/0.2469, allocations: 4.994 MB / 437 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002648/0.2495, allocations: 1.318 MB / 438.4 MB, free: 1.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003972/0.2499, allocations: 11.94 kB / 438.4 MB, free: 1.008 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004586/0.2504, allocations: 158.5 kB / 438.5 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006716/0.2511, allocations: 329.3 kB / 438.8 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004455/0.2515, allocations: 227.6 kB / 439.1 MB, free: 312 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001277/0.2528, allocations: 1.157 MB / 440.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003867/0.2532, allocations: 226.1 kB / 440.4 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004932/0.2537, allocations: 454.5 kB / 440.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006808/0.2544, allocations: 0.5018 MB / 441.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001467/0.2545, allocations: 100 kB / 441.5 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001754/0.2547, allocations: 104 kB / 441.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002133/0.2549, allocations: 223.2 kB / 441.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005147/0.2554, allocations: 0.5094 MB / 442.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001271/0.2567, allocations: 1.183 MB / 443.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2567, allocations: 3.938 kB / 443.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.2567, allocations: 0 / 443.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.7e-05/0.2567, allocations: 4 kB / 443.5 MB, free: 11.83 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.002547/0.2592, allocations: 1.336 MB / 444.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.2593, allocations: 8.031 kB / 444.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000202/0.2595, allocations: 112.3 kB / 445 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009865/0.2605, allocations: 0.5557 MB / 445.5 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002217/0.2607, allocations: 143 kB / 445.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.2608, allocations: 60.38 kB / 445.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001498/0.2623, allocations: 0.8433 MB / 446.6 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.2623, allocations: 0 / 446.6 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.536e-05/0.2624, allocations: 28 kB / 446.6 MB, free: 8.516 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.2624, allocations: 16 kB / 446.6 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.2637, allocations: 0.5594 MB / 447.2 MB, free: 7.941 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.003645/0.2673, allocations: 2.097 MB / 449.3 MB, free: 5.746 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001931/0.2693, allocations: 0.9177 MB / 450.2 MB, free: 4.762 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007534/0.27, allocations: 337.9 kB / 450.5 MB, free: 4.434 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.429e-05/0.2701, allocations: 20.64 kB / 450.5 MB, free: 4.414 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.494e-05/0.2701, allocations: 51.22 kB / 450.6 MB, free: 4.355 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.144e-06/0.2701, allocations: 0 / 450.6 MB, free: 4.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.005265/0.2754, allocations: 1.735 MB / 452.3 MB, free: 2.531 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004938/0.2759, allocations: 0.8272 MB / 453.1 MB, free: 1.508 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008789/0.2768, allocations: 0.6411 MB / 453.8 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.974e-05/0.2769, allocations: 41.7 kB / 453.8 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003141/0.2772, allocations: 337.4 kB / 454.2 MB, free: 484 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002728/0.2774, allocations: 265.6 kB / 454.4 MB, free: 216 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002553/0.2777, allocations: 146.6 kB / 454.6 MB, free: 64 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002461/0.2779, allocations: 398.8 kB / 454.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005918/0.2785, allocations: 241.9 kB / 455.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008933/0.2794, allocations: 0.5278 MB / 455.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00125/0.2807, allocations: 0.6388 MB / 456.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.2807, allocations: 0 / 456.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002645/0.2833, allocations: 1.044 MB / 457.4 MB, free: 13.04 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.153e-05/0.2834, allocations: 84.23 kB / 457.5 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.2834, allocations: 4 kB / 457.5 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007423/0.2841, allocations: 235.2 kB / 457.7 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006054/0.2848, allocations: 131.8 kB / 457.8 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008732/0.2935, allocations: 6.937 MB / 464.8 MB, free: 5.078 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008795/0.2944, allocations: 91.56 kB / 464.9 MB, free: 4.988 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.088e-05/0.2944, allocations: 28 kB / 464.9 MB, free: 4.961 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.0003655/0.2948, allocations: 213.9 kB / 465.1 MB, free: 4.742 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001629/0.295, allocations: 95.44 kB / 465.2 MB, free: 4.648 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001827/0.2951, allocations: 87.34 kB / 465.3 MB, free: 4.559 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.2951, allocations: 15.94 kB / 465.3 MB, free: 4.543 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.2952, allocations: 0 / 465.3 MB, free: 4.543 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002455/0.2976, allocations: 1.178 MB / 466.5 MB, free: 3.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003837/0.3014, allocations: 1.863 MB / 468.3 MB, free: 1.312 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.3014, allocations: 0 / 468.3 MB, free: 1.312 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006729/0.3021, allocations: 127.9 kB / 468.5 MB, free: 1.188 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005798/0.3027, allocations: 198.5 kB / 468.7 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.601e-05/0.3027, allocations: 12 kB / 468.7 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007015/0.3098, allocations: 5.315 MB / 474 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.035e-05/0.3098, allocations: 8.281 kB / 474 MB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003262/0.313, allocations: 1.324 MB / 475.3 MB, free: 9.875 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004553/0.3135, allocations: 240.4 kB / 475.5 MB, free: 9.621 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.3136, allocations: 16 kB / 475.6 MB, free: 9.605 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006409/0.3143, allocations: 39.95 kB / 475.6 MB, free: 9.566 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000167/0.3144, allocations: 60.58 kB / 475.7 MB, free: 9.508 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.235e-05/0.3145, allocations: 16 kB / 475.7 MB, free: 9.492 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006146/0.3151, allocations: 463 kB / 476.1 MB, free: 9.047 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3151, allocations: 4 kB / 476.1 MB, free: 9.043 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008861/0.316, allocations: 287.7 kB / 476.4 MB, free: 8.762 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.0001862/0.3162, allocations: 127.3 kB / 476.5 MB, free: 8.625 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002126/0.3183, allocations: 1.262 MB / 477.8 MB, free: 7.277 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.3183, allocations: 0 / 477.8 MB, free: 7.277 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001045/0.3193, allocations: 0.6717 MB / 478.5 MB, free: 6.566 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.3203, allocations: 226.9 kB / 478.7 MB, free: 6.344 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003014/0.3234, allocations: 1.625 MB / 480.3 MB, free: 4.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005858/0.3239, allocations: 0.94 MB / 481.3 MB, free: 3.715 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003742/0.3243, allocations: 102.4 kB / 481.4 MB, free: 3.609 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001713/0.3245, allocations: 67.42 kB / 481.4 MB, free: 3.543 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3245, allocations: 0 / 481.4 MB, free: 3.543 MB / 382.1 MB Notification: Performance of Templates: time 0.03216/0.3566, allocations: 18.54 MB / 500 MB, free: 1.27 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.185172343160957]