Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.001493/0.001493, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.00165/0.00165, allocations: 210.3 kB / 23.73 MB, free: 4.379 MB / 14.72 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 1.392/1.392, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 47.92 kB / 377.7 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2249, allocations: 53.35 MB / 431.1 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.00456/0.2294, allocations: 3.22 MB / 434.3 MB, free: 3.422 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001508/0.2309, allocations: 0.9384 MB / 435.2 MB, free: 2.477 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001509/0.2311, allocations: 7.938 kB / 435.2 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002797/0.2314, allocations: 95.16 kB / 435.3 MB, free: 2.375 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003575/0.2317, allocations: 194.4 kB / 435.5 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002541/0.232, allocations: 119.8 kB / 435.6 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007168/0.2327, allocations: 0.6419 MB / 436.3 MB, free: 1.422 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000237/0.2329, allocations: 127.5 kB / 436.4 MB, free: 1.289 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002574/0.2332, allocations: 251.1 kB / 436.6 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003565/0.2335, allocations: 282.8 kB / 436.9 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.382e-05/0.2336, allocations: 52 kB / 437 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.321e-05/0.2337, allocations: 52 kB / 437 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001225/0.2338, allocations: 119.6 kB / 437.1 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002483/0.2341, allocations: 239 kB / 437.4 MB, free: 320 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006638/0.2347, allocations: 0.6554 MB / 438 MB, free: 15.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.2347, allocations: 3.938 kB / 438 MB, free: 15.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2347, allocations: 4 kB / 438 MB, free: 15.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.2347, allocations: 0 / 438 MB, free: 15.65 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001366/0.2361, allocations: 0.7789 MB / 438.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.2361, allocations: 8.031 kB / 438.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001111/0.2363, allocations: 83.67 kB / 438.9 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.2364, allocations: 60.61 kB / 439 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005749/0.2369, allocations: 341.5 kB / 439.3 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001362/0.2371, allocations: 114.7 kB / 439.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.104e-05/0.2371, allocations: 32.38 kB / 439.4 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009582/0.2381, allocations: 0.8433 MB / 440.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.2381, allocations: 3.984 kB / 440.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.838e-05/0.2381, allocations: 12 kB / 440.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.2382, allocations: 8 kB / 440.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005785/0.2387, allocations: 283.8 kB / 440.6 MB, free: 12.86 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.00199/0.2407, allocations: 1.039 MB / 441.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/0.2418, allocations: 330 kB / 441.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002577/0.2421, allocations: 132.8 kB / 442.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.581e-05/0.2421, allocations: 7.984 kB / 442.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/0.2422, allocations: 38.56 kB / 442.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.603e-06/0.2422, allocations: 0 / 442.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.00112/0.2433, allocations: 467.3 kB / 442.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002429/0.2435, allocations: 449 kB / 443 MB, free: 10.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005266/0.2441, allocations: 450 kB / 443.5 MB, free: 9.785 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.711e-05/0.2441, allocations: 33.8 kB / 443.5 MB, free: 9.746 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002017/0.2443, allocations: 240.5 kB / 443.7 MB, free: 9.504 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/0.2444, allocations: 122.9 kB / 443.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.2445, allocations: 74.03 kB / 443.9 MB, free: 9.301 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.2447, allocations: 354.8 kB / 444.3 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002556/0.245, allocations: 134.3 kB / 444.4 MB, free: 8.809 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005979/0.2456, allocations: 0.6555 MB / 445 MB, free: 8.004 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005012/0.2461, allocations: 281.3 kB / 445.3 MB, free: 7.719 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2461, allocations: 0 / 445.3 MB, free: 7.719 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007527/0.2468, allocations: 446.2 kB / 445.8 MB, free: 7.258 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.847e-05/0.2469, allocations: 37.69 kB / 445.8 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.2469, allocations: 0 / 445.8 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001622/0.247, allocations: 49.64 kB / 445.8 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003293/0.2474, allocations: 67.89 kB / 445.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002599/0.25, allocations: 2.754 MB / 448.7 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003431/0.2503, allocations: 43.77 kB / 448.7 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.006e-05/0.2503, allocations: 16.14 kB / 448.7 MB, free: 4.055 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002028/0.2505, allocations: 170.8 kB / 448.9 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.978e-05/0.2506, allocations: 55.67 kB / 448.9 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.2507, allocations: 56.62 kB / 449 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.2507, allocations: 0 / 449 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.2507, allocations: 4 kB / 449 MB, free: 3.762 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000728/0.2515, allocations: 0.6453 MB / 449.6 MB, free: 3.012 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001291/0.2528, allocations: 0.8091 MB / 450.5 MB, free: 2.148 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2528, allocations: 0 / 450.5 MB, free: 2.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003715/0.2531, allocations: 67.91 kB / 450.5 MB, free: 2.082 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2531, allocations: 0 / 450.5 MB, free: 2.082 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.853e-05/0.2532, allocations: 11.98 kB / 450.5 MB, free: 2.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.2532, allocations: 0 / 450.5 MB, free: 2.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2532, allocations: 0 / 450.5 MB, free: 2.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000863/0.254, allocations: 0.5167 MB / 451 MB, free: 1.539 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001858/0.2542, allocations: 91.58 kB / 451.1 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.692e-05/0.2543, allocations: 8 kB / 451.1 MB, free: 1.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003251/0.2546, allocations: 19.98 kB / 451.2 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.802e-05/0.2546, allocations: 19.97 kB / 451.2 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/0.2547, allocations: 11.98 kB / 451.2 MB, free: 1.391 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003617/0.255, allocations: 319.1 kB / 451.5 MB, free: 1.086 MB / 350.1 MB Notification: Performance of sort global known variables: time 5e-08/0.255, allocations: 0 / 451.5 MB, free: 1.086 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004316/0.2555, allocations: 131.9 kB / 451.6 MB, free: 0.957 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001261/0.2567, allocations: 1.077 MB / 452.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009415/0.2577, allocations: 0.5725 MB / 453.3 MB, free: 15.24 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.2577, allocations: 3.938 kB / 453.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002382/0.2579, allocations: 119.8 kB / 453.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006416/0.2586, allocations: 138 kB / 453.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005912/0.2645, allocations: 4.352 MB / 457.9 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002158/0.2647, allocations: 220.5 kB / 458.1 MB, free: 10.26 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002353/0.2649, allocations: 60.34 kB / 458.2 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002468/0.2652, allocations: 167.4 kB / 458.3 MB, free: 10.04 MB / 366.1 MB Notification: Performance of SimCode: time 7.71e-07/0.2652, allocations: 4 kB / 458.3 MB, free: 10.04 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04775/0.3129, allocations: 14.48 MB / 472.8 MB, free: 11.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/12.66, allocations: 8 kB / 472.8 MB, free: 11.91 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling.fmu > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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: 14.937531947012758]