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.001435/0.001435, allocations: 112.2 kB / 16.51 MB, free: 6.707 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.001643/0.001643, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.301/1.301, allocations: 222.9 MB / 241.1 MB, free: 13.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001086/0.001086, allocations: 47.14 kB / 299.9 MB, free: 6.082 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07798/0.07909, allocations: 49.45 MB / 349.4 MB, free: 4.633 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005405/0.08452, allocations: 4.955 MB / 354.3 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002137/0.08668, allocations: 1.277 MB / 355.6 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004191/0.08712, allocations: 15.94 kB / 355.6 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004275/0.08758, allocations: 127.1 kB / 355.8 MB, free: 14.22 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006766/0.08827, allocations: 273.8 kB / 356 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004267/0.08871, allocations: 207.7 kB / 356.2 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00121/0.08993, allocations: 1.1 MB / 357.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000403/0.09035, allocations: 302.8 kB / 357.6 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003995/0.09075, allocations: 414.4 kB / 358 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005242/0.09129, allocations: 486 kB / 358.5 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001428/0.09144, allocations: 76 kB / 358.6 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001679/0.09161, allocations: 72 kB / 358.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001596/0.09178, allocations: 195.2 kB / 358.8 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004512/0.09224, allocations: 493.6 kB / 359.3 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008826/0.09313, allocations: 1.137 MB / 360.5 MB, free: 9.488 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.09314, allocations: 0 / 360.5 MB, free: 9.488 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.09315, allocations: 7.938 kB / 360.5 MB, free: 9.48 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.85e-05/0.09317, allocations: 0 / 360.5 MB, free: 9.48 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.002392/0.09557, allocations: 1.314 MB / 361.8 MB, free: 8.098 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.09561, allocations: 8.031 kB / 361.8 MB, free: 8.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001892/0.09581, allocations: 111.8 kB / 361.9 MB, free: 7.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007275/0.09654, allocations: 0.5396 MB / 362.4 MB, free: 7.395 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001936/0.09675, allocations: 150.9 kB / 362.6 MB, free: 7.23 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.336e-05/0.09685, allocations: 60.38 kB / 362.6 MB, free: 7.172 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/0.09818, allocations: 0.8316 MB / 363.5 MB, free: 6.238 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.09821, allocations: 8 kB / 363.5 MB, free: 6.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.915e-05/0.09829, allocations: 31.94 kB / 363.5 MB, free: 6.199 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.642e-05/0.09832, allocations: 12 kB / 363.5 MB, free: 6.188 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/0.09951, allocations: 0.5556 MB / 364.1 MB, free: 5.633 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.003435/0.103, allocations: 2.115 MB / 366.2 MB, free: 3.41 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001825/0.1048, allocations: 0.9647 MB / 367.2 MB, free: 2.383 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006733/0.1055, allocations: 379.1 kB / 367.5 MB, free: 2.012 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.788e-05/0.1056, allocations: 12.72 kB / 367.5 MB, free: 1.996 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.1056, allocations: 47.22 kB / 367.6 MB, free: 1.941 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 2.124e-06/0.1056, allocations: 0 / 367.6 MB, free: 1.941 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.004882/0.1105, allocations: 1.742 MB / 369.3 MB, free: 112 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1467/0.2572, allocations: 0.8186 MB / 370.2 MB, free: 24.65 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009052/0.2581, allocations: 0.6408 MB / 370.8 MB, free: 24.53 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001776/0.2583, allocations: 46.3 kB / 370.8 MB, free: 24.5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002036/0.2585, allocations: 329.8 kB / 371.2 MB, free: 24.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001915/0.2587, allocations: 256 kB / 371.4 MB, free: 24.34 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002411/0.259, allocations: 144.8 kB / 371.6 MB, free: 24.32 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.2591, allocations: 393.9 kB / 371.9 MB, free: 24.01 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006038/0.2597, allocations: 243.4 kB / 372.2 MB, free: 24.01 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000775/0.2605, allocations: 0.529 MB / 372.7 MB, free: 23.64 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/0.2616, allocations: 0.6307 MB / 373.3 MB, free: 23.3 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.2617, allocations: 0 / 373.3 MB, free: 23.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002507/0.2642, allocations: 1.048 MB / 374.4 MB, free: 22.84 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.304e-05/0.2642, allocations: 89.06 kB / 374.5 MB, free: 22.74 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.2642, allocations: 4.969 kB / 374.5 MB, free: 22.74 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006868/0.2649, allocations: 234.7 kB / 374.7 MB, free: 22.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005839/0.2655, allocations: 130.7 kB / 374.8 MB, free: 22.65 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006149/0.2717, allocations: 6.357 MB / 381.2 MB, free: 16.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007859/0.2725, allocations: 97.38 kB / 381.3 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.336e-05/0.2726, allocations: 25.84 kB / 381.3 MB, free: 16.84 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.0003379/0.2729, allocations: 223.8 kB / 381.5 MB, free: 16.66 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/0.2731, allocations: 88.72 kB / 381.6 MB, free: 16.61 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001654/0.2732, allocations: 95.56 kB / 381.7 MB, free: 16.54 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/0.2732, allocations: 7.094 kB / 381.7 MB, free: 16.54 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.2733, allocations: 1.094 kB / 381.7 MB, free: 16.54 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00221/0.2755, allocations: 1.188 MB / 382.9 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003458/0.2789, allocations: 1.871 MB / 384.8 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.279, allocations: 0.9688 kB / 384.8 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006212/0.2796, allocations: 130.1 kB / 384.9 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005129/0.2801, allocations: 198.4 kB / 385.1 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.478e-05/0.2802, allocations: 14 kB / 385.1 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004629/0.2848, allocations: 4.877 MB / 390 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.2848, allocations: 1.25 kB / 390 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00279/0.2876, allocations: 1.311 MB / 391.3 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002857/0.2879, allocations: 243.2 kB / 391.5 MB, free: 9.586 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.288, allocations: 18.03 kB / 391.6 MB, free: 9.578 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006046/0.2887, allocations: 50.17 kB / 391.6 MB, free: 9.559 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/0.2888, allocations: 59.95 kB / 391.7 MB, free: 9.547 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.229e-05/0.2889, allocations: 23.31 kB / 391.7 MB, free: 9.539 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005338/0.2894, allocations: 457.4 kB / 392.1 MB, free: 9.336 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2894, allocations: 5.156 kB / 392.1 MB, free: 9.332 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008499/0.2903, allocations: 273.5 kB / 392.4 MB, free: 9.297 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.0001271/0.2904, allocations: 125.1 kB / 392.5 MB, free: 9.191 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00167/0.2921, allocations: 1.29 MB / 393.8 MB, free: 8.309 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.2921, allocations: 2.562 kB / 393.8 MB, free: 8.309 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008404/0.293, allocations: 0.6884 MB / 394.5 MB, free: 7.84 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009837/0.2939, allocations: 216.6 kB / 394.7 MB, free: 7.758 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002484/0.2964, allocations: 1.883 MB / 396.6 MB, free: 6.57 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.2968, allocations: 0.939 MB / 397.5 MB, free: 5.859 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003908/0.2972, allocations: 102.8 kB / 397.6 MB, free: 5.824 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001529/0.2973, allocations: 68.45 kB / 397.7 MB, free: 5.812 MB / 302.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2973, allocations: 0 / 397.7 MB, free: 5.812 MB / 302.1 MB Notification: Performance of Templates: time 0.02293/0.3203, allocations: 16.67 MB / 414.4 MB, free: 8.004 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins/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