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.0008803/0.0008804, allocations: 94.14 kB / 16.3 MB, free: 5.996 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.0008842/0.0008842, allocations: 183.6 kB / 17.2 MB, free: 5.914 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.302/1.302, allocations: 223.2 MB / 241.1 MB, free: 5.445 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002422/0.0002422, allocations: 9.141 kB / 300.7 MB, free: 6.062 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08603/0.08629, allocations: 50.43 MB / 351.1 MB, free: 11.75 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.00368/0.09001, allocations: 3.902 MB / 355 MB, free: 7.824 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001626/0.09166, allocations: 1.224 MB / 356.3 MB, free: 6.594 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000215/0.09189, allocations: 8 kB / 356.3 MB, free: 6.586 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002169/0.09212, allocations: 107.2 kB / 356.4 MB, free: 6.48 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000509/0.09264, allocations: 343.1 kB / 356.7 MB, free: 6.145 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003038/0.09295, allocations: 167.7 kB / 356.9 MB, free: 5.98 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007977/0.09375, allocations: 0.7812 MB / 357.7 MB, free: 5.199 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000359/0.09412, allocations: 280.3 kB / 357.9 MB, free: 4.902 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003068/0.09444, allocations: 366.8 kB / 358.3 MB, free: 4.543 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00042/0.09486, allocations: 434.2 kB / 358.7 MB, free: 4.117 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.094e-05/0.09496, allocations: 64 kB / 358.8 MB, free: 4.055 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.09509, allocations: 60 kB / 358.8 MB, free: 3.996 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.09522, allocations: 159.4 kB / 359 MB, free: 3.84 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001455/0.09538, allocations: 205.3 kB / 359.2 MB, free: 3.633 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005942/0.09598, allocations: 0.8179 MB / 360 MB, free: 2.812 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.09599, allocations: 0 / 360 MB, free: 2.812 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.096, allocations: 3.938 kB / 360 MB, free: 2.809 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.308e-05/0.09601, allocations: 0 / 360 MB, free: 2.809 MB / 286.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.001872/0.09789, allocations: 1.154 MB / 361.2 MB, free: 1.582 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.09793, allocations: 12.03 kB / 361.2 MB, free: 1.57 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001826/0.09812, allocations: 106.9 kB / 361.3 MB, free: 1.465 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006281/0.09875, allocations: 495.8 kB / 361.8 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001877/0.09895, allocations: 146.4 kB / 361.9 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.861e-05/0.09905, allocations: 59.91 kB / 362 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.1002, allocations: 0.847 MB / 362.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.1002, allocations: 0 / 362.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.597e-05/0.1003, allocations: 31.95 kB / 362.8 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.1003, allocations: 12 kB / 362.9 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.1015, allocations: 0.579 MB / 363.4 MB, free: 15.15 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.003098/0.1046, allocations: 2.069 MB / 365.5 MB, free: 12.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001821/0.1064, allocations: 1.024 MB / 366.5 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.97e-05/0.1065, allocations: 16.72 kB / 366.5 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.1065, allocations: 47.2 kB / 366.6 MB, free: 11.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 1.733e-06/0.1065, allocations: 4 kB / 366.6 MB, free: 11.81 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.004676/0.1112, allocations: 1.877 MB / 368.5 MB, free: 9.844 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002581/0.1115, allocations: 0.8273 MB / 369.3 MB, free: 8.82 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005796/0.112, allocations: 0.5824 MB / 369.9 MB, free: 8.23 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.127e-05/0.1121, allocations: 49.69 kB / 369.9 MB, free: 8.176 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002211/0.1123, allocations: 325.1 kB / 370.3 MB, free: 7.852 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001726/0.1125, allocations: 260.2 kB / 370.5 MB, free: 7.594 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.715e-05/0.1126, allocations: 16 kB / 370.5 MB, free: 7.578 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.1127, allocations: 382.9 kB / 370.9 MB, free: 7.195 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005035/0.1132, allocations: 261.8 kB / 371.2 MB, free: 6.941 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007221/0.1139, allocations: 0.5312 MB / 371.7 MB, free: 6.309 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005939/0.1145, allocations: 388 kB / 372.1 MB, free: 5.91 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.341e-06/0.1146, allocations: 0 / 372.1 MB, free: 5.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002311/0.1169, allocations: 1.114 MB / 373.2 MB, free: 4.758 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.061e-05/0.1169, allocations: 85.11 kB / 373.3 MB, free: 4.656 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.117, allocations: 4 kB / 373.3 MB, free: 4.652 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006656/0.1176, allocations: 247.2 kB / 373.5 MB, free: 4.398 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005663/0.1182, allocations: 127.8 kB / 373.6 MB, free: 4.273 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007047/0.1253, allocations: 6.586 MB / 380.2 MB, free: 13.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008093/0.1261, allocations: 115.3 kB / 380.3 MB, free: 13.04 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.798e-05/0.1262, allocations: 24 kB / 380.3 MB, free: 13.02 MB / 318.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 (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 {1 3,1 1,3 3,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003177/0.1265, allocations: 210.6 kB / 380.6 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.1266, allocations: 94.91 kB / 380.6 MB, free: 12.71 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001605/0.1268, allocations: 91.33 kB / 380.7 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.1268, allocations: 11.98 kB / 380.7 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1268, allocations: 4 kB / 380.8 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002161/0.129, allocations: 1.245 MB / 382 MB, free: 11.24 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003273/0.1323, allocations: 1.863 MB / 383.9 MB, free: 9.309 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.1323, allocations: 0 / 383.9 MB, free: 9.309 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006048/0.1329, allocations: 127.9 kB / 384 MB, free: 9.184 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005367/0.1334, allocations: 226.3 kB / 384.2 MB, free: 8.953 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.108e-05/0.1335, allocations: 12 kB / 384.2 MB, free: 8.941 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005989/0.1395, allocations: 5.141 MB / 389.4 MB, free: 3.402 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1395, allocations: 4.125 kB / 389.4 MB, free: 3.398 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002765/0.1423, allocations: 1.374 MB / 390.7 MB, free: 2 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003264/0.1426, allocations: 239.8 kB / 391 MB, free: 1.746 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.1427, allocations: 19.94 kB / 391 MB, free: 1.727 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005857/0.1433, allocations: 47.97 kB / 391 MB, free: 1.68 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/0.1435, allocations: 60.56 kB / 391.1 MB, free: 1.617 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.602e-05/0.1435, allocations: 16 kB / 391.1 MB, free: 1.602 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004307/0.1439, allocations: 415.1 kB / 391.5 MB, free: 1.203 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1439, allocations: 0 / 391.5 MB, free: 1.203 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007891/0.1447, allocations: 275.8 kB / 391.8 MB, free: 0.9336 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0001448/0.1449, allocations: 127.1 kB / 391.9 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001782/0.1467, allocations: 1.309 MB / 393.2 MB, free: 15.4 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/0.1467, allocations: 4 kB / 393.2 MB, free: 15.4 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001188/0.1479, allocations: 0.7653 MB / 394 MB, free: 14.6 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007773/0.1487, allocations: 205 kB / 394.2 MB, free: 14.4 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00244/0.1511, allocations: 1.894 MB / 396.1 MB, free: 12.47 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004079/0.1516, allocations: 0.9552 MB / 397 MB, free: 11.49 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003692/0.1519, allocations: 85.56 kB / 397.1 MB, free: 11.4 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/0.1521, allocations: 55.42 kB / 397.2 MB, free: 11.35 MB / 334.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1521, allocations: 4 kB / 397.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of Templates: time 0.02162/0.1737, allocations: 15.21 MB / 412.4 MB, free: 12.39 MB / 350.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","../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches