Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001542/0.001542, allocations: 173.7 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.346/1.346, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007174/0.0007178, allocations: 96.95 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002978/0.0002979, allocations: 8 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2137, allocations: 47.57 MB / 375.1 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.003897/0.2176, allocations: 4.303 MB / 379.4 MB, free: 42.04 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00162/0.2193, allocations: 1.212 MB / 380.6 MB, free: 41.01 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000273/0.2196, allocations: 11.84 kB / 380.6 MB, free: 41.01 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002742/0.2198, allocations: 109.3 kB / 380.7 MB, free: 40.92 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004444/0.2203, allocations: 278.1 kB / 381 MB, free: 40.68 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000286/0.2206, allocations: 164.9 kB / 381.2 MB, free: 40.54 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008615/0.2215, allocations: 1.072 MB / 382.2 MB, free: 39.89 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003885/0.2219, allocations: 299 kB / 382.5 MB, free: 39.71 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003648/0.2222, allocations: 389.1 kB / 382.9 MB, free: 39.51 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000435/0.2227, allocations: 456.6 kB / 383.3 MB, free: 39.2 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001349/0.2228, allocations: 66.34 kB / 383.4 MB, free: 39.2 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001711/0.223, allocations: 69.16 kB / 383.5 MB, free: 39.2 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.2231, allocations: 173.7 kB / 383.6 MB, free: 39.05 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003975/0.2235, allocations: 490.6 kB / 384.1 MB, free: 38.73 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006129/0.2242, allocations: 0.8596 MB / 385 MB, free: 38.08 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.2242, allocations: 0 / 385 MB, free: 38.08 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2242, allocations: 0.9688 kB / 385 MB, free: 38.08 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.2242, allocations: 0 / 385 MB, free: 38.08 MB / 298.7 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.0018/0.226, allocations: 1.167 MB / 386.1 MB, free: 37.15 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.2261, allocations: 9.312 kB / 386.2 MB, free: 37.15 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001798/0.2262, allocations: 109.2 kB / 386.3 MB, free: 37.1 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006829/0.2269, allocations: 0.5417 MB / 386.8 MB, free: 36.63 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001874/0.2271, allocations: 150.4 kB / 387 MB, free: 36.51 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.295e-05/0.2272, allocations: 55.53 kB / 387 MB, free: 36.49 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.2284, allocations: 0.8517 MB / 387.9 MB, free: 35.68 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.2284, allocations: 0 / 387.9 MB, free: 35.68 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.05e-05/0.2285, allocations: 35.98 kB / 387.9 MB, free: 35.64 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.2285, allocations: 16 kB / 387.9 MB, free: 35.62 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009727/0.2295, allocations: 0.579 MB / 388.5 MB, free: 35.05 MB / 298.7 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.002623/0.2321, allocations: 2.119 MB / 390.6 MB, free: 32.82 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/0.2335, allocations: 1.002 MB / 391.6 MB, free: 31.75 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005519/0.2341, allocations: 389 kB / 392 MB, free: 31.38 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.75e-05/0.2342, allocations: 12.64 kB / 392 MB, free: 31.36 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.2342, allocations: 47.22 kB / 392 MB, free: 31.3 MB / 298.7 MB Notification: Performance of pre-optimization done (n=73): time 1.994e-06/0.2342, allocations: 0 / 392 MB, free: 31.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=73): time 0.004252/0.2385, allocations: 1.883 MB / 393.9 MB, free: 29.33 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001512/0.2386, allocations: 0.8234 MB / 394.8 MB, free: 28.31 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000585/0.2392, allocations: 0.6371 MB / 395.4 MB, free: 27.66 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.755e-05/0.2393, allocations: 49.7 kB / 395.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001854/0.2395, allocations: 325.1 kB / 395.8 MB, free: 27.29 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/0.2396, allocations: 248.3 kB / 396 MB, free: 27.04 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.786e-05/0.2397, allocations: 16 kB / 396 MB, free: 27.02 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.2398, allocations: 390.7 kB / 396.4 MB, free: 26.63 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005187/0.2403, allocations: 257.9 kB / 396.6 MB, free: 26.38 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006498/0.241, allocations: 0.539 MB / 397.2 MB, free: 25.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000978/0.242, allocations: 0.6467 MB / 397.8 MB, free: 25.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.242, allocations: 7.938 kB / 397.8 MB, free: 25.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00213/0.2441, allocations: 1.114 MB / 399 MB, free: 23.91 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.682e-05/0.2442, allocations: 81.89 kB / 399 MB, free: 23.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.2442, allocations: 5.641 kB / 399 MB, free: 23.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006392/0.2448, allocations: 251.2 kB / 399.3 MB, free: 23.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005232/0.2454, allocations: 131.8 kB / 399.4 MB, free: 23.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00558/0.251, allocations: 6.487 MB / 405.9 MB, free: 16.4 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008395/0.2518, allocations: 111.3 kB / 406 MB, free: 16.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.903e-05/0.2519, allocations: 28.17 kB / 406 MB, free: 16.27 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 3,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003244/0.2522, allocations: 217.7 kB / 406.3 MB, free: 16.04 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.2523, allocations: 83.06 kB / 406.3 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001722/0.2525, allocations: 103.3 kB / 406.4 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.431e-06/0.2525, allocations: 8 kB / 406.4 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.2525, allocations: 0 / 406.4 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001978/0.2545, allocations: 1.249 MB / 407.7 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003034/0.2576, allocations: 1.93 MB / 409.6 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-06/0.2576, allocations: 4 kB / 409.6 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005573/0.2582, allocations: 127.8 kB / 409.7 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004637/0.2586, allocations: 214.6 kB / 410 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.181e-05/0.2587, allocations: 23.92 kB / 410 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004376/0.2631, allocations: 4.989 MB / 415 MB, free: 6.723 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.2631, allocations: 4.031 kB / 415 MB, free: 6.719 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002537/0.2656, allocations: 1.381 MB / 416.4 MB, free: 5.305 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003624/0.266, allocations: 243.9 kB / 416.6 MB, free: 5.047 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.2661, allocations: 24 kB / 416.6 MB, free: 5.023 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005458/0.2667, allocations: 43.91 kB / 416.7 MB, free: 4.98 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.2668, allocations: 64.5 kB / 416.7 MB, free: 4.918 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-05/0.2669, allocations: 23.98 kB / 416.7 MB, free: 4.895 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004179/0.2673, allocations: 451.1 kB / 417.2 MB, free: 4.461 MB / 298.7 MB Notification: Performance of sort global known variables: time 2e-07/0.2673, allocations: 4 kB / 417.2 MB, free: 4.457 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007843/0.2681, allocations: 279.7 kB / 417.5 MB, free: 4.184 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001357/0.2682, allocations: 119.2 kB / 417.6 MB, free: 4.059 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001605/0.2698, allocations: 1.313 MB / 418.9 MB, free: 2.656 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.2699, allocations: 4 kB / 418.9 MB, free: 2.652 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007319/0.2706, allocations: 0.699 MB / 419.6 MB, free: 1.918 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009537/0.2716, allocations: 218.8 kB / 419.8 MB, free: 1.703 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002529/0.2741, allocations: 1.939 MB / 421.8 MB, free: 15.72 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005367/0.2746, allocations: 0.9401 MB / 422.7 MB, free: 14.75 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002058/0.2749, allocations: 67.42 kB / 422.8 MB, free: 14.68 MB / 314.7 MB Notification: Performance of SimCode: time 5.61e-07/0.2749, allocations: 0 / 422.8 MB, free: 14.68 MB / 314.7 MB Notification: Performance of Templates: time 0.02404/0.2989, allocations: 21.92 MB / 444.7 MB, free: 8.723 MB / 330.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches