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.001298/0.001298, allocations: 106.3 kB / 17.74 MB, free: 5.359 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.001235/0.001235, allocations: 185.4 kB / 18.67 MB, free: 4.438 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: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009776/0.0009777, allocations: 47.92 kB / 352 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2062, allocations: 49.43 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005213/0.2115, allocations: 4.937 MB / 406.3 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001649/0.2131, allocations: 1.285 MB / 407.6 MB, free: 2.621 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000201/0.2133, allocations: 8 kB / 407.6 MB, free: 2.613 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003427/0.2137, allocations: 158.6 kB / 407.8 MB, free: 2.457 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005301/0.2142, allocations: 333.2 kB / 408.1 MB, free: 2.129 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003777/0.2146, allocations: 227.6 kB / 408.3 MB, free: 1.906 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000989/0.2156, allocations: 1.164 MB / 409.5 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004068/0.216, allocations: 331.3 kB / 409.8 MB, free: 408 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000378/0.2164, allocations: 442.6 kB / 410.3 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005218/0.2169, allocations: 0.4979 MB / 410.8 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001347/0.2171, allocations: 104 kB / 410.9 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001671/0.2173, allocations: 108 kB / 411 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000167/0.2174, allocations: 219.2 kB / 411.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004339/0.2179, allocations: 0.5133 MB / 411.7 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009474/0.2188, allocations: 1.179 MB / 412.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2188, allocations: 0 / 412.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2189, allocations: 0 / 412.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.2189, allocations: 0 / 412.9 MB, free: 13.34 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.002155/0.221, allocations: 1.32 MB / 414.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.2211, allocations: 11.89 kB / 414.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001659/0.2212, allocations: 107.8 kB / 414.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007484/0.222, allocations: 0.5435 MB / 414.9 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001965/0.2222, allocations: 151 kB / 415 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.185e-05/0.2223, allocations: 60.38 kB / 415.1 MB, free: 11.03 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/0.2236, allocations: 0.8433 MB / 415.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.2236, allocations: 7.922 kB / 415.9 MB, free: 10.08 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.877e-05/0.2237, allocations: 28 kB / 415.9 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.2237, allocations: 16 kB / 416 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/0.2249, allocations: 0.5556 MB / 416.5 MB, free: 9.48 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.003128/0.228, allocations: 2.104 MB / 418.6 MB, free: 7.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001776/0.2298, allocations: 0.9641 MB / 419.6 MB, free: 6.238 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006872/0.2305, allocations: 370.4 kB / 419.9 MB, free: 5.875 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.265e-05/0.2306, allocations: 24.7 kB / 420 MB, free: 5.852 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/0.2306, allocations: 51.16 kB / 420 MB, free: 5.793 MB / 334.1 MB Notification: Performance of pre-optimization done (n=73): time 2.124e-06/0.2306, allocations: 0 / 420 MB, free: 5.793 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.004797/0.2354, allocations: 1.736 MB / 421.8 MB, free: 3.965 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003269/0.2358, allocations: 0.8234 MB / 422.6 MB, free: 2.945 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007203/0.2365, allocations: 0.641 MB / 423.2 MB, free: 2.297 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.49e-05/0.2366, allocations: 45.7 kB / 423.3 MB, free: 2.246 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002441/0.2368, allocations: 325.1 kB / 423.6 MB, free: 1.922 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001842/0.237, allocations: 260.3 kB / 423.8 MB, free: 1.664 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002287/0.2372, allocations: 142.7 kB / 424 MB, free: 1.52 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.2374, allocations: 394.7 kB / 424.4 MB, free: 1.125 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005439/0.238, allocations: 245.9 kB / 424.6 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007734/0.2388, allocations: 0.5234 MB / 425.1 MB, free: 264 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001133/0.2399, allocations: 0.6311 MB / 425.8 MB, free: 15.6 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2399, allocations: 4 kB / 425.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002388/0.2423, allocations: 1.047 MB / 426.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.98e-05/0.2424, allocations: 93.09 kB / 426.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.2424, allocations: 0 / 426.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006725/0.2431, allocations: 239.1 kB / 427.1 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005621/0.2436, allocations: 131.9 kB / 427.3 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007613/0.2513, allocations: 6.923 MB / 434.2 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006863/0.252, allocations: 95.28 kB / 434.3 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.095e-05/0.252, allocations: 27.98 kB / 434.3 MB, free: 6.43 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.0002869/0.2523, allocations: 217.9 kB / 434.5 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.2525, allocations: 83.06 kB / 434.6 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001755/0.2527, allocations: 91.34 kB / 434.7 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002257/0.2549, allocations: 1.186 MB / 435.9 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.2549, allocations: 4 kB / 435.9 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003036/0.2553, allocations: 235.8 kB / 436.1 MB, free: 4.473 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.2554, allocations: 23.94 kB / 436.1 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006217/0.256, allocations: 43.95 kB / 436.2 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.2561, allocations: 48.58 kB / 436.2 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002813/0.2589, allocations: 0.9639 MB / 437.2 MB, free: 3.379 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001933/0.2609, allocations: 1.152 MB / 438.3 MB, free: 2.211 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005346/0.2614, allocations: 289 kB / 438.6 MB, free: 1.926 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005031/0.262, allocations: 455.1 kB / 439.1 MB, free: 1.488 MB / 350.1 MB Notification: Performance of Backend: time 4.01e-07/0.262, allocations: 0 / 439.1 MB, free: 1.488 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001805/0.2638, allocations: 1.18 MB / 440.2 MB, free: 216 kB / 350.1 MB Notification: Performance of SimCode: time 0.002604/0.2664, allocations: 2.145 MB / 442.4 MB, free: 14.01 MB / 366.1 MB Notification: Performance of Templates: time 0.03057/0.297, allocations: 17.2 MB / 459.6 MB, free: 13.05 MB / 382.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