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.001361/0.001361, allocations: 106.6 kB / 17.16 MB, free: 6.082 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.001423/0.001423, allocations: 194.9 kB / 18.08 MB, free: 5.285 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.293/1.293, allocations: 222.9 MB / 241.8 MB, free: 13.75 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009779/0.0009782, allocations: 53.06 kB / 300.6 MB, free: 6.082 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09433/0.09532, allocations: 49.45 MB / 350.1 MB, free: 4.629 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005801/0.1012, allocations: 4.955 MB / 355 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002383/0.1036, allocations: 1.281 MB / 356.3 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006134/0.1042, allocations: 8 kB / 356.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005389/0.1048, allocations: 131.1 kB / 356.4 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009351/0.1057, allocations: 277.8 kB / 356.7 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005161/0.1063, allocations: 195.8 kB / 356.9 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001337/0.1076, allocations: 1.098 MB / 358 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004752/0.1081, allocations: 310.8 kB / 358.3 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005774/0.1087, allocations: 414.4 kB / 358.7 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006755/0.1094, allocations: 481.9 kB / 359.2 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002057/0.1096, allocations: 72 kB / 359.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002437/0.1099, allocations: 76 kB / 359.3 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001794/0.11, allocations: 191.3 kB / 359.5 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005456/0.1106, allocations: 0.4899 MB / 360 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006833/0.1113, allocations: 0.8806 MB / 360.9 MB, free: 9.742 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.1113, allocations: 4 kB / 360.9 MB, free: 9.738 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.1113, allocations: 0 / 360.9 MB, free: 9.738 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.1113, allocations: 4 kB / 360.9 MB, free: 9.734 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.002214/0.1135, allocations: 1.306 MB / 362.2 MB, free: 8.359 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.1136, allocations: 12.03 kB / 362.2 MB, free: 8.348 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001762/0.1138, allocations: 107.8 kB / 362.3 MB, free: 8.242 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007301/0.1145, allocations: 0.5474 MB / 362.8 MB, free: 7.648 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001906/0.1147, allocations: 139 kB / 363 MB, free: 7.496 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.832e-05/0.1148, allocations: 60.38 kB / 363 MB, free: 7.438 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00128/0.1161, allocations: 0.8394 MB / 363.9 MB, free: 6.496 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.1161, allocations: 0 / 363.9 MB, free: 6.496 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.911e-05/0.1162, allocations: 39.92 kB / 363.9 MB, free: 6.457 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.1162, allocations: 12 kB / 363.9 MB, free: 6.445 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/0.1174, allocations: 0.5556 MB / 364.5 MB, free: 5.891 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.003171/0.1205, allocations: 2.111 MB / 366.6 MB, free: 3.672 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001724/0.1223, allocations: 0.9638 MB / 367.6 MB, free: 2.645 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006602/0.123, allocations: 378.4 kB / 367.9 MB, free: 2.273 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.862e-05/0.123, allocations: 26.33 kB / 368 MB, free: 2.246 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/0.1231, allocations: 47.22 kB / 368 MB, free: 2.191 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 2.114e-06/0.1231, allocations: 0 / 368 MB, free: 2.191 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.004828/0.1279, allocations: 1.742 MB / 369.7 MB, free: 368 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1778/0.3057, allocations: 0.8207 MB / 370.6 MB, free: 24.9 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.3068, allocations: 0.6333 MB / 371.2 MB, free: 24.78 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000244/0.3071, allocations: 44.11 kB / 371.2 MB, free: 24.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002433/0.3073, allocations: 329.6 kB / 371.6 MB, free: 24.66 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002074/0.3076, allocations: 259.2 kB / 371.8 MB, free: 24.59 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002602/0.3078, allocations: 143.4 kB / 372 MB, free: 24.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.308, allocations: 391.7 kB / 372.3 MB, free: 24.26 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005964/0.3086, allocations: 245.5 kB / 372.6 MB, free: 24.26 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008147/0.3094, allocations: 0.5284 MB / 373.1 MB, free: 23.89 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/0.3105, allocations: 0.6331 MB / 373.7 MB, free: 23.55 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.3105, allocations: 0 / 373.7 MB, free: 23.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00256/0.3131, allocations: 1.05 MB / 374.8 MB, free: 23.08 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.25e-05/0.3132, allocations: 93.84 kB / 374.9 MB, free: 22.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.3132, allocations: 0 / 374.9 MB, free: 22.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007101/0.3139, allocations: 229.8 kB / 375.1 MB, free: 22.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006081/0.3145, allocations: 132.5 kB / 375.2 MB, free: 22.9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006671/0.3212, allocations: 6.364 MB / 381.6 MB, free: 17.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009122/0.3221, allocations: 99.91 kB / 381.7 MB, free: 17.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.794e-05/0.3222, allocations: 23.22 kB / 381.7 MB, free: 17.09 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.0003567/0.3226, allocations: 216.9 kB / 381.9 MB, free: 16.91 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/0.3227, allocations: 88.86 kB / 382 MB, free: 16.87 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001642/0.3229, allocations: 92.23 kB / 382.1 MB, free: 16.8 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.3229, allocations: 10.81 kB / 382.1 MB, free: 16.79 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.3229, allocations: 5.969 kB / 382.1 MB, free: 16.79 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002217/0.3251, allocations: 1.182 MB / 383.3 MB, free: 16 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00375/0.3289, allocations: 1.868 MB / 385.2 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.3289, allocations: 5.406 kB / 385.2 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006678/0.3296, allocations: 123.8 kB / 385.3 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005469/0.3302, allocations: 196.3 kB / 385.5 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.661e-05/0.3302, allocations: 13.66 kB / 385.5 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005132/0.3354, allocations: 4.88 MB / 390.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3354, allocations: 0 / 390.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00308/0.3385, allocations: 1.32 MB / 391.7 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004416/0.3389, allocations: 239.9 kB / 391.9 MB, free: 9.844 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/0.3391, allocations: 20.41 kB / 392 MB, free: 9.832 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006394/0.3397, allocations: 49.44 kB / 392 MB, free: 9.812 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001967/0.3399, allocations: 56.55 kB / 392.1 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-05/0.34, allocations: 23.91 kB / 392.1 MB, free: 9.797 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006569/0.3406, allocations: 456.9 kB / 392.5 MB, free: 9.594 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.3406, allocations: 0 / 392.5 MB, free: 9.594 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001167/0.3418, allocations: 275.1 kB / 392.8 MB, free: 9.559 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.0001723/0.342, allocations: 133.7 kB / 392.9 MB, free: 9.445 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001948/0.3439, allocations: 1.287 MB / 394.2 MB, free: 8.566 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/0.344, allocations: 2.719 kB / 394.2 MB, free: 8.566 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00091/0.3449, allocations: 0.6879 MB / 394.9 MB, free: 8.098 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.3459, allocations: 221.4 kB / 395.1 MB, free: 8.016 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002824/0.3488, allocations: 1.914 MB / 397 MB, free: 6.797 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003937/0.3492, allocations: 0.9335 MB / 398 MB, free: 6.086 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002175/0.3494, allocations: 74.03 kB / 398 MB, free: 6.07 MB / 302.1 MB Notification: Performance of SimCode: time 9.11e-07/0.3494, allocations: 7.938 kB / 398.1 MB, free: 6.062 MB / 302.1 MB Notification: Performance of Templates: time 0.0242/0.3736, allocations: 21.98 MB / 420 MB, free: 2.832 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/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