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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001769/0.001769, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001/0.001, allocations: 97.78 kB / 296.7 MB, free: 6.48 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008979/0.000898, allocations: 55.84 kB / 356.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.1985, allocations: 50.46 MB / 407 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.003988/0.2025, allocations: 4.957 MB / 412 MB, free: 22.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001514/0.2041, allocations: 1.319 MB / 413.3 MB, free: 21.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002142/0.2043, allocations: 11.94 kB / 413.3 MB, free: 21.51 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003033/0.2046, allocations: 131 kB / 413.5 MB, free: 21.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004158/0.205, allocations: 281.8 kB / 413.7 MB, free: 21.1 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002751/0.2053, allocations: 199.7 kB / 413.9 MB, free: 20.91 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006445/0.206, allocations: 1.11 MB / 415 MB, free: 19.79 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002975/0.2063, allocations: 300.1 kB / 415.3 MB, free: 19.48 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000245/0.2065, allocations: 414.4 kB / 415.7 MB, free: 19.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003409/0.2069, allocations: 486 kB / 416.2 MB, free: 18.6 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.594e-05/0.207, allocations: 72 kB / 416.3 MB, free: 18.53 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001296/0.2071, allocations: 76 kB / 416.4 MB, free: 18.45 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.2072, allocations: 195.2 kB / 416.5 MB, free: 18.26 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002934/0.2075, allocations: 497.6 kB / 417 MB, free: 17.77 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006093/0.2081, allocations: 1.129 MB / 418.2 MB, free: 16.64 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2082, allocations: 3.984 kB / 418.2 MB, free: 16.64 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.2082, allocations: 0 / 418.2 MB, free: 16.64 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.2082, allocations: 0 / 418.2 MB, free: 16.64 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.001784/0.21, allocations: 1.314 MB / 419.5 MB, free: 15.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.21, allocations: 8.031 kB / 419.5 MB, free: 15.25 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001466/0.2102, allocations: 111.8 kB / 419.6 MB, free: 15.14 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005656/0.2107, allocations: 0.5396 MB / 420.1 MB, free: 14.55 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001491/0.2109, allocations: 146.9 kB / 420.3 MB, free: 14.39 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.23e-05/0.211, allocations: 60.38 kB / 420.3 MB, free: 14.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009703/0.212, allocations: 0.8472 MB / 421.2 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.212, allocations: 4 kB / 421.2 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.471e-05/0.2121, allocations: 28 kB / 421.2 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.2121, allocations: 19.98 kB / 421.2 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000966/0.213, allocations: 0.5556 MB / 421.8 MB, free: 12.78 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.002584/0.2156, allocations: 2.108 MB / 423.9 MB, free: 10.56 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00147/0.2171, allocations: 0.9691 MB / 424.9 MB, free: 9.527 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005735/0.2177, allocations: 372.8 kB / 425.2 MB, free: 9.164 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.495e-05/0.2178, allocations: 12.66 kB / 425.2 MB, free: 9.148 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.2178, allocations: 51.22 kB / 425.3 MB, free: 9.09 MB / 298.7 MB Notification: Performance of pre-optimization done (n=73): time 2.555e-06/0.2178, allocations: 0 / 425.3 MB, free: 9.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=73): time 0.004209/0.222, allocations: 1.734 MB / 427 MB, free: 7.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000132/0.2222, allocations: 0.8234 MB / 427.9 MB, free: 6.246 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005857/0.2228, allocations: 0.641 MB / 428.5 MB, free: 5.598 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.693e-05/0.2228, allocations: 45.7 kB / 428.5 MB, free: 5.547 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.223, allocations: 333.3 kB / 428.9 MB, free: 5.215 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/0.2232, allocations: 252.3 kB / 429.1 MB, free: 4.965 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001891/0.2233, allocations: 150.6 kB / 429.3 MB, free: 4.812 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.824e-05/0.2234, allocations: 390.7 kB / 429.6 MB, free: 4.422 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004875/0.2239, allocations: 245.9 kB / 429.9 MB, free: 4.184 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005959/0.2245, allocations: 0.5278 MB / 430.4 MB, free: 3.551 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009009/0.2254, allocations: 0.631 MB / 431 MB, free: 2.898 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2255, allocations: 0 / 431 MB, free: 2.898 MB / 298.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002018/0.2275, allocations: 1.044 MB / 432.1 MB, free: 1.812 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.131e-05/0.2275, allocations: 89.09 kB / 432.2 MB, free: 1.707 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.2275, allocations: 7.984 kB / 432.2 MB, free: 1.699 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006457/0.2282, allocations: 235.2 kB / 432.4 MB, free: 1.457 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005097/0.2287, allocations: 123.9 kB / 432.5 MB, free: 1.336 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006661/0.2354, allocations: 6.381 MB / 438.9 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008404/0.2363, allocations: 99.47 kB / 439 MB, free: 10.33 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.392e-05/0.2363, allocations: 27.98 kB / 439 MB, free: 10.3 MB / 314.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 (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.0003319/0.2367, allocations: 223.8 kB / 439.3 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/0.2368, allocations: 87.06 kB / 439.3 MB, free: 9.988 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001725/0.237, allocations: 87.34 kB / 439.4 MB, free: 9.895 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.707e-06/0.237, allocations: 15.92 kB / 439.4 MB, free: 9.879 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.237, allocations: 4 kB / 439.4 MB, free: 9.875 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002108/0.2391, allocations: 1.178 MB / 440.6 MB, free: 8.582 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003301/0.2424, allocations: 1.868 MB / 442.5 MB, free: 6.641 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.2425, allocations: 0 / 442.5 MB, free: 6.641 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005806/0.243, allocations: 135.9 kB / 442.6 MB, free: 6.508 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000501/0.2436, allocations: 186.5 kB / 442.8 MB, free: 6.316 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.556e-05/0.2436, allocations: 23.98 kB / 442.8 MB, free: 6.293 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005436/0.2491, allocations: 4.876 MB / 447.7 MB, free: 1.02 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2491, allocations: 0 / 447.7 MB, free: 1.02 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02158/0.2707, allocations: 11.76 MB / 459.5 MB, free: 4.664 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000356/0.2711, allocations: 251.8 kB / 459.7 MB, free: 4.398 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.605e-05/0.2712, allocations: 20 kB / 459.7 MB, free: 4.379 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000609/0.2718, allocations: 44.03 kB / 459.8 MB, free: 4.336 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001735/0.272, allocations: 60.5 kB / 459.8 MB, free: 4.277 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.756e-05/0.272, allocations: 19.94 kB / 459.8 MB, free: 4.258 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004911/0.2725, allocations: 463 kB / 460.3 MB, free: 3.809 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2725, allocations: 4 kB / 460.3 MB, free: 3.805 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001028/0.2736, allocations: 399.7 kB / 460.7 MB, free: 3.414 MB / 330.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 (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.00015/0.2737, allocations: 123.2 kB / 460.8 MB, free: 3.285 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001726/0.2755, allocations: 1.278 MB / 462.1 MB, free: 1.926 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/0.2755, allocations: 4 kB / 462.1 MB, free: 1.922 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008874/0.2764, allocations: 0.6989 MB / 462.8 MB, free: 1.184 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009077/0.2773, allocations: 219 kB / 463 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003662/0.281, allocations: 2.689 MB / 465.7 MB, free: 14.2 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004435/0.2814, allocations: 0.9561 MB / 466.7 MB, free: 13.21 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004408/0.2819, allocations: 110.4 kB / 466.8 MB, free: 13.1 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000182/0.2821, allocations: 67.42 kB / 466.8 MB, free: 13.04 MB / 346.7 MB Notification: Performance of SimCode: time 5.41e-07/0.2821, allocations: 0 / 466.8 MB, free: 13.04 MB / 346.7 MB Notification: Performance of Templates: time 0.02852/0.3106, allocations: 20.27 MB / 487.1 MB, free: 9 MB / 362.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches