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.001408/0.001408, allocations: 112.2 kB / 17.74 MB, free: 5.344 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.001126/0.001126, allocations: 187.1 kB / 18.67 MB, free: 4.422 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.332/1.332, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001075/0.001075, allocations: 43.94 kB / 352 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2621, allocations: 49.43 MB / 401.4 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006038/0.2681, allocations: 4.953 MB / 406.4 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00243/0.2706, allocations: 1.269 MB / 407.6 MB, free: 2.59 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005474/0.2712, allocations: 15.94 kB / 407.6 MB, free: 2.574 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005047/0.2717, allocations: 170.5 kB / 407.8 MB, free: 2.406 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007462/0.2725, allocations: 309.3 kB / 408.1 MB, free: 2.102 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004574/0.2729, allocations: 223.6 kB / 408.3 MB, free: 1.883 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001062/0.274, allocations: 1.168 MB / 409.5 MB, free: 0.707 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004834/0.2745, allocations: 331.2 kB / 409.8 MB, free: 376 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003855/0.2749, allocations: 446.5 kB / 410.3 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005173/0.2754, allocations: 0.4979 MB / 410.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001307/0.2756, allocations: 100 kB / 410.8 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000165/0.2757, allocations: 104 kB / 411 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001597/0.2759, allocations: 219.2 kB / 411.2 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004131/0.2763, allocations: 0.5211 MB / 411.7 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009865/0.2773, allocations: 1.172 MB / 412.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2773, allocations: 0 / 412.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2773, allocations: 4 kB / 412.9 MB, free: 13.31 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.2773, allocations: 0 / 412.9 MB, free: 13.31 MB / 334.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.002124/0.2795, allocations: 1.313 MB / 414.2 MB, free: 11.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.2795, allocations: 11.89 kB / 414.2 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001736/0.2797, allocations: 111.8 kB / 414.3 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007631/0.2805, allocations: 0.5474 MB / 414.8 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000196/0.2807, allocations: 139 kB / 415 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.511e-05/0.2808, allocations: 56.38 kB / 415 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/0.282, allocations: 0.855 MB / 415.9 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.2821, allocations: 0 / 415.9 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.719e-05/0.2822, allocations: 28 kB / 415.9 MB, free: 10.03 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.2822, allocations: 15.94 kB / 415.9 MB, free: 10.01 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.2833, allocations: 0.5594 MB / 416.5 MB, free: 9.453 MB / 334.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.003135/0.2864, allocations: 2.096 MB / 418.6 MB, free: 7.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001798/0.2883, allocations: 0.9758 MB / 419.6 MB, free: 6.207 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006793/0.289, allocations: 374.4 kB / 419.9 MB, free: 5.84 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.078e-05/0.289, allocations: 12.59 kB / 419.9 MB, free: 5.828 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.839e-05/0.2891, allocations: 48.86 kB / 420 MB, free: 5.773 MB / 334.1 MB Notification: Performance of pre-optimization done (n=73): time 2.184e-06/0.2891, allocations: 0 / 420 MB, free: 5.773 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.004883/0.294, allocations: 1.738 MB / 421.7 MB, free: 3.941 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003719/0.2944, allocations: 0.8195 MB / 422.5 MB, free: 2.926 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008203/0.2952, allocations: 0.641 MB / 423.2 MB, free: 2.277 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.773e-05/0.2953, allocations: 49.7 kB / 423.2 MB, free: 2.223 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002934/0.2956, allocations: 337.2 kB / 423.6 MB, free: 1.887 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002148/0.2958, allocations: 244.3 kB / 423.8 MB, free: 1.645 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002272/0.296, allocations: 146.7 kB / 423.9 MB, free: 1.496 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.2962, allocations: 390.7 kB / 424.3 MB, free: 1.105 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005346/0.2968, allocations: 245.9 kB / 424.6 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007708/0.2976, allocations: 0.5234 MB / 425.1 MB, free: 244 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001137/0.2987, allocations: 0.6388 MB / 425.7 MB, free: 15.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.2987, allocations: 0 / 425.7 MB, free: 15.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002442/0.3012, allocations: 1.051 MB / 426.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.888e-05/0.3012, allocations: 89.03 kB / 426.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.3013, allocations: 4 kB / 426.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006879/0.302, allocations: 231.3 kB / 427.1 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005692/0.3025, allocations: 127.8 kB / 427.2 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008069/0.3106, allocations: 6.931 MB / 434.2 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009782/0.3116, allocations: 95.28 kB / 434.2 MB, free: 6.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.418e-05/0.3117, allocations: 27.98 kB / 434.3 MB, free: 6.406 MB / 350.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.0003725/0.3121, allocations: 213.7 kB / 434.5 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/0.3122, allocations: 87.06 kB / 434.6 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001868/0.3124, allocations: 87.34 kB / 434.7 MB, free: 6.008 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.3125, allocations: 19.86 kB / 434.7 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.886e-06/0.3125, allocations: 4 kB / 434.7 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002216/0.3147, allocations: 1.178 MB / 435.9 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003501/0.3182, allocations: 1.863 MB / 437.7 MB, free: 2.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.3182, allocations: 0 / 437.7 MB, free: 2.754 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005989/0.3188, allocations: 127.9 kB / 437.8 MB, free: 2.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005311/0.3194, allocations: 198.5 kB / 438 MB, free: 2.426 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.575e-05/0.3194, allocations: 19.98 kB / 438.1 MB, free: 2.406 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00625/0.3257, allocations: 5.299 MB / 443.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.3257, allocations: 11.98 kB / 443.4 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003123/0.3289, allocations: 1.316 MB / 444.7 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004182/0.3293, allocations: 239.9 kB / 444.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/0.3294, allocations: 16.19 kB / 444.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006029/0.33, allocations: 39.97 kB / 445 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001695/0.3302, allocations: 60.56 kB / 445 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-05/0.3303, allocations: 23.98 kB / 445.1 MB, free: 10.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005882/0.3309, allocations: 459.1 kB / 445.5 MB, free: 10.49 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.817e-06/0.3309, allocations: 0 / 445.5 MB, free: 10.49 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008703/0.3318, allocations: 295.5 kB / 445.8 MB, free: 10.2 MB / 366.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.0001816/0.3319, allocations: 127.6 kB / 445.9 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001998/0.334, allocations: 1.297 MB / 447.2 MB, free: 8.688 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.334, allocations: 0 / 447.2 MB, free: 8.688 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001011/0.335, allocations: 0.6952 MB / 447.9 MB, free: 7.957 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.336, allocations: 222.8 kB / 448.1 MB, free: 7.738 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002771/0.3388, allocations: 1.638 MB / 449.8 MB, free: 6.059 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000454/0.3393, allocations: 0.9362 MB / 450.7 MB, free: 5.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001994/0.3395, allocations: 71.42 kB / 450.8 MB, free: 5.02 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3395, allocations: 0 / 450.8 MB, free: 5.02 MB / 366.1 MB Notification: Performance of Templates: time 0.02429/0.3638, allocations: 22.08 MB / 472.9 MB, free: 15.02 MB / 398.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins1/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