Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001068/0.001068, allocations: 109.8 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001084/0.001084, allocations: 212 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 55.91 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.2107, allocations: 50.55 MB / 409.9 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005281/0.216, allocations: 4.944 MB / 414.9 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001755/0.2177, allocations: 1.32 MB / 416.2 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002078/0.218, allocations: 11.94 kB / 416.2 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003403/0.2183, allocations: 166.6 kB / 416.4 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005113/0.2188, allocations: 317.2 kB / 416.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003658/0.2192, allocations: 223.6 kB / 416.9 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001005/0.2202, allocations: 1.164 MB / 418.1 MB, free: 9.398 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004123/0.2206, allocations: 325.8 kB / 418.4 MB, free: 9.062 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000384/0.221, allocations: 454.4 kB / 418.8 MB, free: 8.617 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005035/0.2215, allocations: 0.4941 MB / 419.3 MB, free: 8.121 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001406/0.2217, allocations: 100 kB / 419.4 MB, free: 8.023 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001691/0.2219, allocations: 104 kB / 419.5 MB, free: 7.922 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001709/0.222, allocations: 223.3 kB / 419.7 MB, free: 7.703 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004482/0.2225, allocations: 0.5172 MB / 420.3 MB, free: 7.184 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009536/0.2235, allocations: 1.177 MB / 421.4 MB, free: 6.004 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2235, allocations: 0 / 421.4 MB, free: 6.004 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2235, allocations: 0 / 421.4 MB, free: 6.004 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.2235, allocations: 0 / 421.4 MB, free: 6.004 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.002159/0.2257, allocations: 1.321 MB / 422.8 MB, free: 4.613 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.2257, allocations: 8.031 kB / 422.8 MB, free: 4.605 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001645/0.2259, allocations: 107.8 kB / 422.9 MB, free: 4.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008414/0.2267, allocations: 0.5513 MB / 423.4 MB, free: 3.902 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001928/0.2269, allocations: 146.9 kB / 423.6 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.084e-05/0.227, allocations: 64.38 kB / 423.6 MB, free: 3.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/0.2283, allocations: 0.8355 MB / 424.5 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.2283, allocations: 0 / 424.5 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.797e-05/0.2284, allocations: 28 kB / 424.5 MB, free: 2.715 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.2284, allocations: 12 kB / 424.5 MB, free: 2.703 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.2296, allocations: 0.5595 MB / 425.1 MB, free: 2.145 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.003163/0.2327, allocations: 2.1 MB / 427.2 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001731/0.2345, allocations: 0.9592 MB / 428.1 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006624/0.2351, allocations: 370.7 kB / 428.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.881e-05/0.2352, allocations: 12.72 kB / 428.5 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.524e-05/0.2353, allocations: 47.22 kB / 428.5 MB, free: 14.49 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 1.984e-06/0.2353, allocations: 0 / 428.5 MB, free: 14.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004834/0.2401, allocations: 1.734 MB / 430.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003307/0.2404, allocations: 0.8311 MB / 431.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007164/0.2412, allocations: 0.641 MB / 431.7 MB, free: 10.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.135e-05/0.2412, allocations: 41.7 kB / 431.8 MB, free: 10.94 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002473/0.2415, allocations: 329.1 kB / 432.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001859/0.2417, allocations: 252.3 kB / 432.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000233/0.2419, allocations: 146.6 kB / 432.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.2421, allocations: 394.7 kB / 432.9 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005366/0.2426, allocations: 253.8 kB / 433.1 MB, free: 9.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007772/0.2434, allocations: 0.5234 MB / 433.7 MB, free: 8.941 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/0.2446, allocations: 0.6311 MB / 434.3 MB, free: 8.285 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.2446, allocations: 0 / 434.3 MB, free: 8.285 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002393/0.247, allocations: 1.051 MB / 435.3 MB, free: 7.191 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.576e-05/0.247, allocations: 83.45 kB / 435.4 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.2471, allocations: 4 kB / 435.4 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006743/0.2477, allocations: 235.2 kB / 435.7 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005802/0.2483, allocations: 127.8 kB / 435.8 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007609/0.2559, allocations: 6.94 MB / 442.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000673/0.2566, allocations: 91.28 kB / 442.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.687e-05/0.2567, allocations: 24 kB / 442.8 MB, free: 15.12 MB / 366.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.0002882/0.257, allocations: 217.7 kB / 443 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/0.2571, allocations: 91.06 kB / 443.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001719/0.2573, allocations: 91.33 kB / 443.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002258/0.2596, allocations: 1.186 MB / 444.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.2596, allocations: 0 / 444.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003043/0.2599, allocations: 239.8 kB / 444.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.26, allocations: 27.94 kB / 444.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000595/0.2606, allocations: 31.97 kB / 444.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.2608, allocations: 52.58 kB / 444.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002769/0.2635, allocations: 0.9601 MB / 445.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001885/0.2654, allocations: 1.15 MB / 446.9 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005128/0.266, allocations: 285.1 kB / 447.1 MB, free: 10.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005/0.2665, allocations: 463 kB / 447.6 MB, free: 10.17 MB / 366.1 MB Notification: Performance of Backend: time 5.31e-07/0.2665, allocations: 0 / 447.6 MB, free: 10.17 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001788/0.2683, allocations: 1.173 MB / 448.8 MB, free: 8.902 MB / 366.1 MB Notification: Performance of SimCode: time 0.002555/0.2708, allocations: 2.153 MB / 450.9 MB, free: 6.699 MB / 366.1 MB Notification: Performance of Templates: time 0.02451/0.2954, allocations: 17.2 MB / 468.1 MB, free: 5.73 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches