Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.001204/0.001204, allocations: 108.8 kB / 21.22 MB, free: 0.7305 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.001304/0.001304, allocations: 191.5 kB / 24.51 MB, free: 4.086 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.324/1.324, allocations: 225.6 MB / 253.3 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 43.94 kB / 371.2 MB, free: 9.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2123, allocations: 52.18 MB / 423.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.00456/0.2168, allocations: 3.535 MB / 426.9 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001595/0.2184, allocations: 0.946 MB / 427.9 MB, free: 10.11 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001837/0.2186, allocations: 11.94 kB / 427.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003008/0.2189, allocations: 107.1 kB / 428 MB, free: 9.988 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003657/0.2193, allocations: 194.4 kB / 428.2 MB, free: 9.797 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002677/0.2195, allocations: 119.8 kB / 428.3 MB, free: 9.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007005/0.2202, allocations: 0.6486 MB / 429 MB, free: 9.031 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002227/0.2205, allocations: 123.5 kB / 429.1 MB, free: 8.902 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002553/0.2207, allocations: 251.2 kB / 429.3 MB, free: 8.656 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003402/0.2211, allocations: 274.8 kB / 429.6 MB, free: 8.387 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.767e-05/0.2211, allocations: 56 kB / 429.6 MB, free: 8.332 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.444e-05/0.2212, allocations: 52 kB / 429.7 MB, free: 8.281 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.915e-05/0.2213, allocations: 115.6 kB / 429.8 MB, free: 8.168 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000268/0.2216, allocations: 290.6 kB / 430.1 MB, free: 7.883 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006721/0.2223, allocations: 0.6507 MB / 430.7 MB, free: 7.234 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2223, allocations: 0 / 430.7 MB, free: 7.234 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2223, allocations: 0 / 430.7 MB, free: 7.234 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.2223, allocations: 0 / 430.7 MB, free: 7.234 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001358/0.2236, allocations: 0.7867 MB / 431.5 MB, free: 6.406 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.2237, allocations: 8.031 kB / 431.5 MB, free: 6.398 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.927e-05/0.2237, allocations: 13.19 kB / 431.6 MB, free: 6.387 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001221/0.2238, allocations: 87.64 kB / 431.6 MB, free: 6.289 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.2239, allocations: 68.5 kB / 431.7 MB, free: 6.223 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005714/0.2245, allocations: 337.5 kB / 432 MB, free: 5.867 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001287/0.2246, allocations: 114.7 kB / 432.1 MB, free: 5.738 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.085e-05/0.2247, allocations: 40.12 kB / 432.2 MB, free: 5.699 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007346/0.2254, allocations: 481.3 kB / 432.7 MB, free: 5.176 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.2254, allocations: 0 / 432.7 MB, free: 5.176 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.477e-05/0.2255, allocations: 20 kB / 432.7 MB, free: 5.156 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.2255, allocations: 11.98 kB / 432.7 MB, free: 5.145 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005794/0.2261, allocations: 283.8 kB / 433 MB, free: 4.867 MB / 334.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.002129/0.2282, allocations: 1.305 MB / 434.3 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.2292, allocations: 339.2 kB / 434.6 MB, free: 3.137 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002926/0.2295, allocations: 144.1 kB / 434.7 MB, free: 2.996 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.871e-05/0.2295, allocations: 4 kB / 434.7 MB, free: 2.992 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.2296, allocations: 46.5 kB / 434.8 MB, free: 2.938 MB / 334.1 MB Notification: Performance of pre-optimization done (n=38): time 1.563e-06/0.2296, allocations: 4 kB / 434.8 MB, free: 2.934 MB / 334.1 MB Notification: Performance of matching and sorting (n=53): time 0.004066/0.2336, allocations: 1.634 MB / 436.4 MB, free: 1.254 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002612/0.2362, allocations: 2.37 MB / 438.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005678/0.2368, allocations: 450 kB / 439.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.426e-05/0.2369, allocations: 37.7 kB / 439.3 MB, free: 14.17 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/0.2371, allocations: 236.9 kB / 439.5 MB, free: 13.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001695/0.2372, allocations: 190.3 kB / 439.7 MB, free: 13.74 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001954/0.2374, allocations: 106.2 kB / 439.8 MB, free: 13.63 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.2376, allocations: 370.7 kB / 440.2 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003913/0.238, allocations: 188.9 kB / 440.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005343/0.2385, allocations: 348 kB / 440.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007925/0.2393, allocations: 453 kB / 441.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2393, allocations: 0 / 441.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001377/0.2407, allocations: 0.6779 MB / 441.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.888e-05/0.2407, allocations: 33.69 kB / 441.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.2408, allocations: 0 / 441.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003008/0.2411, allocations: 135.2 kB / 442 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004734/0.2415, allocations: 103.9 kB / 442.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005126/0.2467, allocations: 5.575 MB / 447.6 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005687/0.2472, allocations: 32.02 kB / 447.7 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.602e-05/0.2473, allocations: 19.98 kB / 447.7 MB, free: 5.164 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 (54): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 1 * 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): 2 systems {(3,1,88.9%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000263/0.2475, allocations: 187.5 kB / 447.9 MB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.2476, allocations: 59.62 kB / 447.9 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000125/0.2478, allocations: 65.34 kB / 448 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.2478, allocations: 8 kB / 448 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.2478, allocations: 0 / 448 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001447/0.2492, allocations: 0.9585 MB / 449 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002527/0.2517, allocations: 1.432 MB / 450.4 MB, free: 2.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.2518, allocations: 0 / 450.4 MB, free: 2.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000415/0.2522, allocations: 83.89 kB / 450.5 MB, free: 2.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004349/0.2526, allocations: 166.6 kB / 450.6 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.638e-05/0.2526, allocations: 19.98 kB / 450.7 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004865/0.2575, allocations: 4.704 MB / 455.4 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001552/0.2591, allocations: 1.646 MB / 457 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001892/0.2609, allocations: 0.951 MB / 458 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002486/0.2612, allocations: 103.6 kB / 458.1 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.099e-05/0.2613, allocations: 15.94 kB / 458.1 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004177/0.2617, allocations: 28.05 kB / 458.1 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.2618, allocations: 48.34 kB / 458.2 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-05/0.2618, allocations: 15.98 kB / 458.2 MB, free: 9.996 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000379/0.2622, allocations: 315.1 kB / 458.5 MB, free: 9.688 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2622, allocations: 3.938 kB / 458.5 MB, free: 9.684 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006473/0.2629, allocations: 192.1 kB / 458.7 MB, free: 9.496 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 ($STATESET1.x,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 (43): * Single equations (assignments): 40 * 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): 3 systems {(3,1,88.9%), (1,1,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00217/0.265, allocations: 1.53 MB / 460.2 MB, free: 7.922 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001569/0.2666, allocations: 0.976 MB / 461.2 MB, free: 6.887 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.2666, allocations: 4 kB / 461.2 MB, free: 6.883 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009482/0.2676, allocations: 0.5961 MB / 461.8 MB, free: 6.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006587/0.2682, allocations: 141.9 kB / 461.9 MB, free: 6.113 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007699/0.2759, allocations: 5.292 MB / 467.2 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005062/0.2764, allocations: 0.8565 MB / 468.1 MB, free: 15.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002672/0.2767, allocations: 76.73 kB / 468.1 MB, free: 15.72 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000291/0.277, allocations: 187.4 kB / 468.3 MB, free: 15.54 MB / 382.1 MB Notification: Performance of SimCode: time 9.22e-07/0.277, allocations: 0 / 468.3 MB, free: 15.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05153/0.3285, allocations: 16.68 MB / 485 MB, free: 15.18 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.92/13.25, allocations: 4.062 kB / 485 MB, free: 15.17 MB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 15.543036498012953]