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.001736/0.001736, allocations: 112.2 kB / 20.43 MB, free: 1.457 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.001994/0.001994, allocations: 180.8 kB / 23.71 MB, free: 4.695 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.482/1.482, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.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.001603/0.001603, allocations: 47.92 kB / 370.9 MB, free: 9.324 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.221, allocations: 52.19 MB / 423.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006262/0.2272, allocations: 4.986 MB / 428.1 MB, free: 9.648 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002349/0.2296, allocations: 1.281 MB / 429.4 MB, free: 8.359 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002559/0.2298, allocations: 11.94 kB / 429.4 MB, free: 8.348 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004182/0.2303, allocations: 170.5 kB / 429.6 MB, free: 8.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006039/0.2309, allocations: 325.2 kB / 429.9 MB, free: 7.859 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004345/0.2313, allocations: 227.6 kB / 430.1 MB, free: 7.637 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001271/0.2326, allocations: 1.157 MB / 431.3 MB, free: 6.473 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003694/0.2329, allocations: 232.1 kB / 431.5 MB, free: 6.234 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004962/0.2334, allocations: 454.4 kB / 431.9 MB, free: 5.789 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006165/0.2341, allocations: 0.5019 MB / 432.4 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000153/0.2342, allocations: 104 kB / 432.5 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001839/0.2344, allocations: 104 kB / 432.6 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002004/0.2346, allocations: 215.2 kB / 432.9 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005243/0.2351, allocations: 0.5172 MB / 433.4 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001234/0.2364, allocations: 1.19 MB / 434.6 MB, free: 3.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2364, allocations: 0 / 434.6 MB, free: 3.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2364, allocations: 7.938 kB / 434.6 MB, free: 3.152 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.2364, allocations: 0 / 434.6 MB, free: 3.152 MB / 334.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.002412/0.2388, allocations: 1.261 MB / 435.8 MB, free: 1.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.2388, allocations: 12.03 kB / 435.8 MB, free: 1.828 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001878/0.239, allocations: 108.3 kB / 435.9 MB, free: 1.723 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008708/0.2399, allocations: 0.4954 MB / 436.4 MB, free: 1.195 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002219/0.2401, allocations: 146.9 kB / 436.6 MB, free: 1.035 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.2402, allocations: 64.33 kB / 436.6 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/0.2417, allocations: 0.8394 MB / 437.5 MB, free: 32 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.2417, allocations: 0 / 437.5 MB, free: 32 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.01e-05/0.2417, allocations: 28 kB / 437.5 MB, free: 4 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.041e-05/0.2418, allocations: 16.05 kB / 437.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001258/0.243, allocations: 0.5516 MB / 438.1 MB, free: 15.44 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.003545/0.2466, allocations: 2.063 MB / 440.1 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001785/0.2484, allocations: 0.6984 MB / 440.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000709/0.2491, allocations: 335.9 kB / 441.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.307e-05/0.2491, allocations: 16.72 kB / 441.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.97e-05/0.2492, allocations: 51.22 kB / 441.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 1.944e-06/0.2492, allocations: 0 / 441.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004924/0.2541, allocations: 1.426 MB / 442.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004536/0.2545, allocations: 0.8195 MB / 443.5 MB, free: 9.715 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008466/0.2554, allocations: 0.6488 MB / 444.1 MB, free: 9.059 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.555e-05/0.2555, allocations: 45.64 kB / 444.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002985/0.2558, allocations: 341.5 kB / 444.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002345/0.256, allocations: 265.7 kB / 444.8 MB, free: 8.406 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002472/0.2562, allocations: 146.7 kB / 444.9 MB, free: 8.258 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002154/0.2565, allocations: 390.7 kB / 445.3 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005816/0.257, allocations: 245.9 kB / 445.5 MB, free: 7.625 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008666/0.2579, allocations: 0.5234 MB / 446.1 MB, free: 6.996 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/0.2591, allocations: 0.631 MB / 446.7 MB, free: 6.336 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.2591, allocations: 0 / 446.7 MB, free: 6.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002536/0.2617, allocations: 1.052 MB / 447.7 MB, free: 5.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.355e-05/0.2617, allocations: 93.09 kB / 447.8 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.2617, allocations: 0 / 447.8 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007119/0.2625, allocations: 235.2 kB / 448.1 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005656/0.263, allocations: 127.9 kB / 448.2 MB, free: 4.773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00835/0.2714, allocations: 6.522 MB / 454.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007914/0.2722, allocations: 91.52 kB / 454.8 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.256e-05/0.2722, allocations: 28 kB / 454.8 MB, free: 13.67 MB / 366.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.0003472/0.2726, allocations: 221.6 kB / 455 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001469/0.2727, allocations: 91.48 kB / 455.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000179/0.2729, allocations: 91.33 kB / 455.2 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.2729, allocations: 11.94 kB / 455.2 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2729, allocations: 0 / 455.2 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002385/0.2753, allocations: 1.178 MB / 456.4 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003741/0.279, allocations: 1.839 MB / 458.2 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.969e-06/0.279, allocations: 8 kB / 458.3 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006462/0.2797, allocations: 127.8 kB / 458.4 MB, free: 9.914 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005828/0.2803, allocations: 190.6 kB / 458.6 MB, free: 9.719 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.726e-05/0.2803, allocations: 23.98 kB / 458.6 MB, free: 9.695 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006738/0.2871, allocations: 5.001 MB / 463.6 MB, free: 4.355 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.359e-06/0.2871, allocations: 3.938 kB / 463.6 MB, free: 4.352 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003225/0.2903, allocations: 1.321 MB / 464.9 MB, free: 3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004128/0.2907, allocations: 167.2 kB / 465.1 MB, free: 2.836 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/0.2908, allocations: 20 kB / 465.1 MB, free: 2.816 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006288/0.2915, allocations: 39.97 kB / 465.1 MB, free: 2.777 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001654/0.2916, allocations: 64.53 kB / 465.2 MB, free: 2.715 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-05/0.2917, allocations: 16 kB / 465.2 MB, free: 2.699 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005985/0.2923, allocations: 459 kB / 465.7 MB, free: 2.258 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2923, allocations: 0 / 465.7 MB, free: 2.258 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00084/0.2931, allocations: 287.8 kB / 465.9 MB, free: 1.977 MB / 366.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.000165/0.2933, allocations: 125.2 kB / 466.1 MB, free: 1.844 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002072/0.2953, allocations: 1.254 MB / 467.3 MB, free: 0.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.2953, allocations: 0 / 467.3 MB, free: 0.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001044/0.2964, allocations: 0.6717 MB / 468 MB, free: 15.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009701/0.2974, allocations: 234.8 kB / 468.2 MB, free: 15.56 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003009/0.3004, allocations: 1.623 MB / 469.8 MB, free: 13.9 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005975/0.301, allocations: 0.9478 MB / 470.8 MB, free: 12.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003769/0.3013, allocations: 98.44 kB / 470.9 MB, free: 12.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001678/0.3015, allocations: 67.42 kB / 471 MB, free: 12.76 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3015, allocations: 0 / 471 MB, free: 12.76 MB / 382.1 MB Notification: Performance of Templates: time 0.03214/0.3337, allocations: 18.69 MB / 489.6 MB, free: 10.33 MB / 398.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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.218636000528932]