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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008237/0.0008238, allocations: 100.9 kB / 16.65 MB, free: 6.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008234/0.0008235, allocations: 180.4 kB / 17.57 MB, free: 5.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 223.3 MB / 241.6 MB, free: 14.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002431/0.0002431, allocations: 15.92 kB / 301.4 MB, free: 5.902 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08556/0.08582, allocations: 50.42 MB / 351.8 MB, free: 3.477 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.004385/0.09024, allocations: 4.55 MB / 356.4 MB, free: 14.9 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002113/0.09238, allocations: 1.215 MB / 357.6 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003139/0.09271, allocations: 15.94 kB / 357.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003308/0.09306, allocations: 123.1 kB / 357.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005448/0.09361, allocations: 281.8 kB / 358 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003789/0.094, allocations: 199.7 kB / 358.2 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009638/0.09497, allocations: 1.09 MB / 359.3 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003947/0.09538, allocations: 310.8 kB / 359.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000388/0.09577, allocations: 398.4 kB / 360 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004764/0.09626, allocations: 466 kB / 360.4 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001108/0.09638, allocations: 68 kB / 360.5 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001378/0.09652, allocations: 64 kB / 360.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001474/0.09668, allocations: 183.2 kB / 360.8 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000411/0.09709, allocations: 0.4916 MB / 361.2 MB, free: 10 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008753/0.09798, allocations: 1.113 MB / 362.4 MB, free: 8.883 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.09799, allocations: 0 / 362.4 MB, free: 8.883 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.965e-06/0.098, allocations: 0 / 362.4 MB, free: 8.883 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.09801, allocations: 3.938 kB / 362.4 MB, free: 8.879 MB / 302.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.001918/0.09994, allocations: 1.162 MB / 363.5 MB, free: 7.648 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.09998, allocations: 8.031 kB / 363.5 MB, free: 7.641 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000168/0.1002, allocations: 111.8 kB / 363.6 MB, free: 7.531 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007015/0.1009, allocations: 0.5357 MB / 364.2 MB, free: 6.949 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001994/0.1011, allocations: 151 kB / 364.3 MB, free: 6.785 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.69e-05/0.1012, allocations: 56.38 kB / 364.4 MB, free: 6.73 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/0.1025, allocations: 0.855 MB / 365.2 MB, free: 5.773 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.1025, allocations: 4 kB / 365.2 MB, free: 5.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.784e-05/0.1026, allocations: 35.98 kB / 365.3 MB, free: 5.734 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.1026, allocations: 15.94 kB / 365.3 MB, free: 5.719 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/0.1038, allocations: 0.579 MB / 365.9 MB, free: 5.141 MB / 302.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.003186/0.107, allocations: 2.115 MB / 368 MB, free: 2.918 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001837/0.1089, allocations: 1.006 MB / 369 MB, free: 1.852 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007083/0.1096, allocations: 390.4 kB / 369.4 MB, free: 1.469 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.206e-05/0.1097, allocations: 12.66 kB / 369.4 MB, free: 1.453 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.1097, allocations: 51.16 kB / 369.4 MB, free: 1.395 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 2.244e-06/0.1097, allocations: 4 kB / 369.4 MB, free: 1.391 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.1563/0.266, allocations: 1.89 MB / 371.3 MB, free: 24.49 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001418/0.2662, allocations: 0.8241 MB / 372.2 MB, free: 23.49 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008795/0.267, allocations: 0.6377 MB / 372.8 MB, free: 23.37 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001054/0.2672, allocations: 43.8 kB / 372.8 MB, free: 23.34 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/0.2674, allocations: 329.4 kB / 373.2 MB, free: 23.25 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000174/0.2676, allocations: 258.4 kB / 373.4 MB, free: 23.18 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.512e-05/0.2676, allocations: 60.02 kB / 373.5 MB, free: 23.16 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.2678, allocations: 385.4 kB / 373.8 MB, free: 22.85 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006167/0.2684, allocations: 259.2 kB / 374.1 MB, free: 22.85 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007896/0.2692, allocations: 0.5415 MB / 374.6 MB, free: 22.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/0.2704, allocations: 0.6586 MB / 375.3 MB, free: 22.39 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.2704, allocations: 4.453 kB / 375.3 MB, free: 22.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002546/0.2729, allocations: 1.111 MB / 376.4 MB, free: 21.91 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.841e-05/0.273, allocations: 89.08 kB / 376.5 MB, free: 21.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.273, allocations: 0.8438 kB / 376.5 MB, free: 21.81 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007652/0.2738, allocations: 253.9 kB / 376.7 MB, free: 21.72 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000612/0.2744, allocations: 127 kB / 376.9 MB, free: 21.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006657/0.2811, allocations: 6.496 MB / 383.4 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009463/0.2821, allocations: 111.4 kB / 383.5 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.241e-05/0.2821, allocations: 21.94 kB / 383.5 MB, free: 15.86 MB / 302.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.0003159/0.2824, allocations: 221.4 kB / 383.7 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.2826, allocations: 87.97 kB / 383.8 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001731/0.2828, allocations: 93.67 kB / 383.9 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.2828, allocations: 8.031 kB / 383.9 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.2828, allocations: 0 / 383.9 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002149/0.2849, allocations: 1.249 MB / 385.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003681/0.2886, allocations: 1.94 MB / 387.1 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.2887, allocations: 2.5 kB / 387.1 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006188/0.2893, allocations: 133.8 kB / 387.2 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005587/0.2899, allocations: 214.4 kB / 387.4 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.185e-05/0.2899, allocations: 13.89 kB / 387.4 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005008/0.2949, allocations: 5.005 MB / 392.4 MB, free: 9.367 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.2949, allocations: 5.281 kB / 392.5 MB, free: 9.363 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002988/0.2979, allocations: 1.387 MB / 393.8 MB, free: 8.746 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003254/0.2983, allocations: 239.7 kB / 394.1 MB, free: 8.555 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.2984, allocations: 15.92 kB / 394.1 MB, free: 8.547 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006384/0.299, allocations: 55.75 kB / 394.1 MB, free: 8.527 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001621/0.2992, allocations: 59.88 kB / 394.2 MB, free: 8.516 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.271e-05/0.2993, allocations: 28.12 kB / 394.2 MB, free: 8.508 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005139/0.2998, allocations: 457.3 kB / 394.7 MB, free: 8.305 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2998, allocations: 0 / 394.7 MB, free: 8.305 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008489/0.3006, allocations: 278.4 kB / 394.9 MB, free: 8.266 MB / 302.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.0001359/0.3008, allocations: 129.1 kB / 395.1 MB, free: 8.156 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001747/0.3025, allocations: 1.316 MB / 396.4 MB, free: 7.27 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.3026, allocations: 2.031 kB / 396.4 MB, free: 7.27 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008428/0.3034, allocations: 0.7027 MB / 397.1 MB, free: 6.801 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009716/0.3044, allocations: 222.5 kB / 397.3 MB, free: 6.719 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002427/0.3068, allocations: 1.991 MB / 399.3 MB, free: 5.48 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.3072, allocations: 0.9357 MB / 400.2 MB, free: 4.695 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004056/0.3076, allocations: 101.4 kB / 400.3 MB, free: 4.645 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000164/0.3078, allocations: 63.69 kB / 400.4 MB, free: 4.633 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3078, allocations: 0 / 400.4 MB, free: 4.633 MB / 302.1 MB Notification: Performance of Templates: time 0.02401/0.3318, allocations: 16.54 MB / 416.9 MB, free: 5.906 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches