Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 87.62 kB / 21.43 MB, free: 3.137 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.005135/0.005135, allocations: 157.1 kB / 24.7 MB, free: 9.406 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.836/0.836, allocations: 177.2 MB / 205 MB, free: 5.355 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.147e-05/2.319e-05, allocations: 2.281 kB / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.003894/0.003917, allocations: 4.435 MB / 330.3 MB, free: 10.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001878/0.005795, allocations: 1.277 MB / 331.5 MB, free: 9.695 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002549/0.00605, allocations: 11.94 kB / 331.5 MB, free: 9.684 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003133/0.006364, allocations: 166.5 kB / 331.7 MB, free: 9.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004367/0.0068, allocations: 341 kB / 332 MB, free: 9.184 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002979/0.007098, allocations: 223.5 kB / 332.3 MB, free: 8.965 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007597/0.007858, allocations: 1.214 MB / 333.5 MB, free: 7.75 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002827/0.008141, allocations: 226.4 kB / 333.7 MB, free: 7.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004696/0.00861, allocations: 0.6666 MB / 334.4 MB, free: 6.852 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003264/0.008937, allocations: 379 kB / 334.7 MB, free: 6.48 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.119e-05/0.009028, allocations: 100 kB / 334.8 MB, free: 6.383 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.384e-05/0.009122, allocations: 104 kB / 334.9 MB, free: 6.281 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.009232, allocations: 219.2 kB / 335.1 MB, free: 6.066 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002379/0.00947, allocations: 387.2 kB / 335.5 MB, free: 5.688 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00107/0.01054, allocations: 1.227 MB / 336.8 MB, free: 4.457 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.01054, allocations: 0 / 336.8 MB, free: 4.457 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.021e-06/0.01054, allocations: 0 / 336.8 MB, free: 4.457 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.01055, allocations: 0 / 336.8 MB, free: 4.457 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.001381/0.01193, allocations: 1.253 MB / 338 MB, free: 3.148 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.01198, allocations: 12.03 kB / 338 MB, free: 3.137 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001371/0.01211, allocations: 116.3 kB / 338.1 MB, free: 3.023 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005801/0.01269, allocations: 0.4985 MB / 338.6 MB, free: 2.496 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001765/0.01287, allocations: 301.2 kB / 338.9 MB, free: 2.148 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.878e-05/0.01294, allocations: 60.38 kB / 339 MB, free: 2.09 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.01394, allocations: 1.597 MB / 340.6 MB, free: 212 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.01396, allocations: 192 / 340.6 MB, free: 212 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.646e-05/0.01401, allocations: 32.12 kB / 340.6 MB, free: 180 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.01402, allocations: 12 kB / 340.6 MB, free: 168 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007003/0.01472, allocations: 0.5594 MB / 341.2 MB, free: 15.61 MB / 314.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.001949/0.01667, allocations: 1.558 MB / 342.7 MB, free: 14.01 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/0.01794, allocations: 0.6983 MB / 343.4 MB, free: 13.3 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003945/0.01833, allocations: 330.7 kB / 343.8 MB, free: 12.98 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.961e-05/0.01837, allocations: 12.66 kB / 343.8 MB, free: 12.96 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.0184, allocations: 47.22 kB / 343.8 MB, free: 12.91 MB / 314.7 MB Notification: Performance of pre-optimization done (n=73): time 2.574e-06/0.0184, allocations: 3.984 kB / 343.8 MB, free: 12.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=73): time 0.002397/0.0208, allocations: 1.422 MB / 345.2 MB, free: 11.46 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002213/0.02102, allocations: 0.8195 MB / 346.1 MB, free: 10.45 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004229/0.02144, allocations: 0.5695 MB / 346.6 MB, free: 9.875 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.327e-05/0.02149, allocations: 45.7 kB / 346.7 MB, free: 9.824 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.02166, allocations: 357.2 kB / 347 MB, free: 9.469 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000127/0.02179, allocations: 249.8 kB / 347.3 MB, free: 9.223 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001461/0.02193, allocations: 150.6 kB / 347.4 MB, free: 9.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.02204, allocations: 382.8 kB / 347.8 MB, free: 8.688 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003412/0.02239, allocations: 323 kB / 348.1 MB, free: 8.352 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006802/0.02307, allocations: 1.363 MB / 349.5 MB, free: 6.684 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00068/0.02375, allocations: 0.6388 MB / 350.1 MB, free: 6.016 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.02375, allocations: 0 / 350.1 MB, free: 6.016 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00155/0.0253, allocations: 1.113 MB / 351.2 MB, free: 4.848 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.774e-05/0.02535, allocations: 97.03 kB / 351.3 MB, free: 4.734 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.02535, allocations: 0 / 351.3 MB, free: 4.734 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004108/0.02576, allocations: 235.3 kB / 351.5 MB, free: 4.492 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002733/0.02604, allocations: 127.8 kB / 351.7 MB, free: 4.367 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004548/0.03059, allocations: 6.384 MB / 358.1 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003765/0.03096, allocations: 83.62 kB / 358.1 MB, free: 13.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.653e-05/0.031, allocations: 27.92 kB / 358.2 MB, free: 13.46 MB / 330.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.0002189/0.03122, allocations: 215.1 kB / 358.4 MB, free: 13.24 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.197e-05/0.0313, allocations: 87.47 kB / 358.5 MB, free: 13.16 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.726e-05/0.03139, allocations: 90.69 kB / 358.5 MB, free: 13.06 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.03139, allocations: 12 kB / 358.6 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.0314, allocations: 0 / 358.6 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001197/0.03259, allocations: 1.174 MB / 359.7 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001915/0.03451, allocations: 1.613 MB / 361.3 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.03451, allocations: 4 kB / 361.4 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002942/0.03481, allocations: 123.9 kB / 361.5 MB, free: 9.973 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002935/0.0351, allocations: 202.5 kB / 361.7 MB, free: 9.766 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.967e-05/0.03513, allocations: 16 kB / 361.7 MB, free: 9.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003406/0.03853, allocations: 4.894 MB / 366.6 MB, free: 4.551 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.03854, allocations: 4.031 kB / 366.6 MB, free: 4.547 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00159/0.04013, allocations: 1.313 MB / 367.9 MB, free: 3.199 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002144/0.04034, allocations: 155.3 kB / 368 MB, free: 3.047 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.743e-05/0.0404, allocations: 20 kB / 368.1 MB, free: 3.027 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002755/0.04067, allocations: 39.97 kB / 368.1 MB, free: 2.988 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.04079, allocations: 64.53 kB / 368.2 MB, free: 2.926 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-05/0.04082, allocations: 16 kB / 368.2 MB, free: 2.91 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000307/0.04112, allocations: 406.8 kB / 368.6 MB, free: 2.516 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.04112, allocations: 0 / 368.6 MB, free: 2.516 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005388/0.04166, allocations: 283.7 kB / 368.9 MB, free: 2.238 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.0001377/0.0418, allocations: 135 kB / 369 MB, free: 2.098 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001212/0.04301, allocations: 1.337 MB / 370.3 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.04302, allocations: 4 kB / 370.3 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005386/0.04355, allocations: 0.6715 MB / 371 MB, free: 15.94 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000574/0.04413, allocations: 226 kB / 371.2 MB, free: 15.72 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/0.0461, allocations: 1.505 MB / 372.7 MB, free: 14.18 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002025/0.0463, allocations: 341.3 kB / 373.1 MB, free: 13.82 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.04644, allocations: 72.48 kB / 373.1 MB, free: 13.75 MB / 346.7 MB Notification: Performance of SimCode: time 6.42e-07/0.04644, allocations: 0 / 373.1 MB, free: 13.75 MB / 346.7 MB Notification: Performance of Templates: time 0.01554/0.06197, allocations: 22.23 MB / 395.4 MB, free: 7.594 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.197969263419509]