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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 120.5 kB / 18.41 MB, free: 4.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001784/0.001784, allocations: 190.7 kB / 21.35 MB, free: 1.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 222.9 MB / 247 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 178] 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=1000,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=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 47.92 kB / 358.7 MB, free: 8.305 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1126, allocations: 49.44 MB / 408.1 MB, free: 6.816 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006613/0.1193, allocations: 4.931 MB / 413 MB, free: 1.867 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003043/0.1224, allocations: 1.285 MB / 414.3 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004763/0.1229, allocations: 12 kB / 414.3 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000548/0.1234, allocations: 166.5 kB / 414.5 MB, free: 408 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008355/0.1243, allocations: 317.2 kB / 414.8 MB, free: 88 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005721/0.1249, allocations: 231.6 kB / 415 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001517/0.1264, allocations: 1.16 MB / 416.2 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00055/0.127, allocations: 322 kB / 416.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006476/0.1277, allocations: 442.4 kB / 416.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006631/0.1283, allocations: 0.498 MB / 417.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001678/0.1285, allocations: 104 kB / 417.5 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001885/0.1287, allocations: 104 kB / 417.6 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002226/0.1289, allocations: 215.3 kB / 417.9 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006082/0.1296, allocations: 0.5211 MB / 418.4 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001401/0.131, allocations: 1.179 MB / 419.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.131, allocations: 0 / 419.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.131, allocations: 4 kB / 419.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.039e-05/0.131, allocations: 3.984 kB / 419.6 MB, free: 11.3 MB / 350.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.002574/0.1336, allocations: 1.332 MB / 420.9 MB, free: 9.895 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.1337, allocations: 15.89 kB / 420.9 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002051/0.1339, allocations: 116.3 kB / 421 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009741/0.1349, allocations: 0.5596 MB / 421.6 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002642/0.1351, allocations: 143 kB / 421.7 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.1353, allocations: 64.33 kB / 421.8 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/0.1367, allocations: 0.8471 MB / 422.6 MB, free: 7.996 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.1368, allocations: 0 / 422.6 MB, free: 7.996 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.492e-05/0.1368, allocations: 31.98 kB / 422.7 MB, free: 7.965 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.1369, allocations: 12 kB / 422.7 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001274/0.1382, allocations: 0.5556 MB / 423.2 MB, free: 7.395 MB / 350.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.003837/0.142, allocations: 2.104 MB / 425.3 MB, free: 5.184 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002009/0.144, allocations: 0.9685 MB / 426.3 MB, free: 4.148 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007389/0.1448, allocations: 375.9 kB / 426.7 MB, free: 3.781 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.057e-05/0.1449, allocations: 8.656 kB / 426.7 MB, free: 3.773 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.942e-05/0.1449, allocations: 51.22 kB / 426.7 MB, free: 3.715 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 3.276e-06/0.1449, allocations: 0 / 426.7 MB, free: 3.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.005289/0.1502, allocations: 1.742 MB / 428.5 MB, free: 1.879 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005344/0.1508, allocations: 0.8272 MB / 429.3 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009729/0.1518, allocations: 0.641 MB / 429.9 MB, free: 212 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001204/0.1519, allocations: 45.7 kB / 430 MB, free: 160 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1993/0.3512, allocations: 327.4 kB / 430.3 MB, free: 22.69 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000295/0.3515, allocations: 267.6 kB / 430.6 MB, free: 22.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002334/0.3517, allocations: 146 kB / 430.7 MB, free: 22.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.3519, allocations: 394.8 kB / 431.1 MB, free: 22.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005325/0.3524, allocations: 242 kB / 431.3 MB, free: 22.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006218/0.353, allocations: 0.5328 MB / 431.9 MB, free: 22 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.3541, allocations: 0.6356 MB / 432.5 MB, free: 21.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.3541, allocations: 1.531 kB / 432.5 MB, free: 21.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002306/0.3564, allocations: 1.047 MB / 433.5 MB, free: 21.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.641e-05/0.3565, allocations: 85.67 kB / 433.6 MB, free: 21.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.3565, allocations: 0.5 kB / 433.6 MB, free: 21.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006735/0.3571, allocations: 236.4 kB / 433.9 MB, free: 21.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005409/0.3577, allocations: 129.9 kB / 434 MB, free: 21.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006824/0.3645, allocations: 6.923 MB / 440.9 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000897/0.3655, allocations: 96.44 kB / 441 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-05/0.3655, allocations: 22.42 kB / 441 MB, free: 15.95 MB / 350.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.0003231/0.3659, allocations: 216.6 kB / 441.2 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/0.366, allocations: 94.27 kB / 441.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001621/0.3662, allocations: 92.47 kB / 441.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.3662, allocations: 7.344 kB / 441.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.3662, allocations: 0.7031 kB / 441.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002186/0.3684, allocations: 1.188 MB / 442.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003575/0.372, allocations: 1.866 MB / 444.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.372, allocations: 1.094 kB / 444.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006232/0.3727, allocations: 131.4 kB / 444.6 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005537/0.3732, allocations: 200.8 kB / 444.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.874e-05/0.3733, allocations: 14.34 kB / 444.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005216/0.3785, allocations: 5.315 MB / 450.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3785, allocations: 1.375 kB / 450.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002993/0.3815, allocations: 1.32 MB / 451.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000434/0.382, allocations: 243.3 kB / 451.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.3821, allocations: 21.91 kB / 451.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00061/0.3827, allocations: 45.81 kB / 451.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001969/0.3829, allocations: 62.7 kB / 451.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.311e-05/0.383, allocations: 18.44 kB / 451.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005811/0.3836, allocations: 459.9 kB / 452.3 MB, free: 10 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3836, allocations: 0 / 452.3 MB, free: 10 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000948/0.3845, allocations: 280.9 kB / 452.6 MB, free: 9.965 MB / 350.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.0001699/0.3847, allocations: 136.1 kB / 452.7 MB, free: 9.852 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001983/0.3867, allocations: 1.29 MB / 454 MB, free: 8.969 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.3867, allocations: 2.219 kB / 454 MB, free: 8.969 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009657/0.3877, allocations: 0.6958 MB / 454.7 MB, free: 8.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.3888, allocations: 228.3 kB / 454.9 MB, free: 8.414 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00305/0.3919, allocations: 1.658 MB / 456.6 MB, free: 7.469 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004924/0.3924, allocations: 0.9357 MB / 457.5 MB, free: 6.758 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002567/0.3926, allocations: 74.39 kB / 457.6 MB, free: 6.742 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3926, allocations: 0 / 457.6 MB, free: 6.742 MB / 350.1 MB Notification: Performance of Templates: time 0.02869/0.4213, allocations: 22.09 MB / 479.7 MB, free: 7.047 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 9.824235316016711]