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.001558/0.001558, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001858/0.001858, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.421/1.421, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.001528/0.001528, allocations: 48.03 kB / 373 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09217/0.09369, allocations: 53.33 MB / 426.3 MB, free: 4.812 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004904/0.0986, allocations: 3.521 MB / 429.8 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001843/0.1004, allocations: 0.9775 MB / 430.8 MB, free: 296 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000265/0.1007, allocations: 7.938 kB / 430.8 MB, free: 288 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003497/0.1011, allocations: 111 kB / 430.9 MB, free: 176 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1684/0.2695, allocations: 185.5 kB / 431.1 MB, free: 7.766 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004476/0.2699, allocations: 125.5 kB / 431.2 MB, free: 7.766 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007579/0.2707, allocations: 0.6328 MB / 431.9 MB, free: 7.766 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002214/0.2709, allocations: 137.8 kB / 432 MB, free: 7.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002398/0.2711, allocations: 245 kB / 432.2 MB, free: 7.699 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002705/0.2714, allocations: 278.6 kB / 432.5 MB, free: 7.641 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.659e-05/0.2715, allocations: 52.5 kB / 432.6 MB, free: 7.641 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.396e-05/0.2716, allocations: 55.25 kB / 432.6 MB, free: 7.641 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.742e-05/0.2716, allocations: 122.3 kB / 432.7 MB, free: 7.621 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001783/0.2718, allocations: 294.2 kB / 433 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005535/0.2724, allocations: 0.6397 MB / 433.7 MB, free: 7.445 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2724, allocations: 1.656 kB / 433.7 MB, free: 7.445 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2724, allocations: 1.562 kB / 433.7 MB, free: 7.445 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.558e-05/0.2724, allocations: 0 / 433.7 MB, free: 7.445 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.001214/0.2736, allocations: 0.8576 MB / 434.5 MB, free: 6.859 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.2736, allocations: 9.469 kB / 434.5 MB, free: 6.859 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.429e-05/0.2737, allocations: 80.5 kB / 434.6 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.2738, allocations: 62.05 kB / 434.7 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005081/0.2744, allocations: 409 kB / 435.1 MB, free: 6.527 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.916e-05/0.2744, allocations: 59.06 kB / 435.1 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.689e-05/0.2745, allocations: 33.67 kB / 435.2 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006234/0.2751, allocations: 471.7 kB / 435.6 MB, free: 6.324 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.2751, allocations: 2.594 kB / 435.6 MB, free: 6.324 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.699e-05/0.2752, allocations: 21.95 kB / 435.6 MB, free: 6.324 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.2752, allocations: 8.031 kB / 435.6 MB, free: 6.324 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005401/0.2757, allocations: 280.7 kB / 435.9 MB, free: 6.316 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.001845/0.2776, allocations: 1.309 MB / 437.2 MB, free: 5.789 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.2787, allocations: 418 kB / 437.6 MB, free: 5.574 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002445/0.2789, allocations: 128.1 kB / 437.8 MB, free: 5.523 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.112e-05/0.2789, allocations: 7.594 kB / 437.8 MB, free: 5.523 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.279, allocations: 46.3 kB / 437.8 MB, free: 5.477 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.643e-06/0.279, allocations: 0 / 437.8 MB, free: 5.477 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001066/0.28, allocations: 0.6083 MB / 438.4 MB, free: 5.086 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.967e-05/0.2801, allocations: 453 kB / 438.9 MB, free: 4.551 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004675/0.2806, allocations: 448.3 kB / 439.3 MB, free: 4.336 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.142e-05/0.2806, allocations: 32.98 kB / 439.3 MB, free: 4.301 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.2807, allocations: 240.4 kB / 439.6 MB, free: 4.105 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.965e-05/0.2808, allocations: 116.3 kB / 439.7 MB, free: 4.016 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.2809, allocations: 80.06 kB / 439.8 MB, free: 3.965 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.714e-05/0.281, allocations: 355.5 kB / 440.1 MB, free: 3.633 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002314/0.2812, allocations: 105.1 kB / 440.2 MB, free: 3.598 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00031/0.2815, allocations: 247.6 kB / 440.5 MB, free: 3.406 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004505/0.282, allocations: 283 kB / 440.7 MB, free: 3.254 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.282, allocations: 0 / 440.7 MB, free: 3.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006572/0.2827, allocations: 416.7 kB / 441.1 MB, free: 3.043 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.989e-05/0.2827, allocations: 37.69 kB / 441.2 MB, free: 3.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.2827, allocations: 0 / 441.2 MB, free: 3.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001555/0.2829, allocations: 51.72 kB / 441.2 MB, free: 2.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003149/0.2832, allocations: 68.3 kB / 441.3 MB, free: 2.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001796/0.285, allocations: 2.962 MB / 444.3 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003822/0.2853, allocations: 48.56 kB / 444.3 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.664e-05/0.2854, allocations: 16.58 kB / 444.3 MB, free: 36 kB / 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.0002231/0.2856, allocations: 163.3 kB / 444.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.2857, allocations: 53.39 kB / 444.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.2858, allocations: 55.58 kB / 444.6 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.2858, allocations: 3.125 kB / 444.6 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.2858, allocations: 0.5312 kB / 444.6 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007935/0.2866, allocations: 0.649 MB / 445.2 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/0.288, allocations: 0.9075 MB / 446.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.288, allocations: 0.875 kB / 446.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000339/0.2884, allocations: 65.91 kB / 446.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.2884, allocations: 7.031 kB / 446.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.349e-05/0.2884, allocations: 5.922 kB / 446.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.2884, allocations: 2.312 kB / 446.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2884, allocations: 4 kB / 446.2 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008812/0.2893, allocations: 0.5225 MB / 446.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002074/0.2895, allocations: 165.4 kB / 446.9 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.036e-05/0.2896, allocations: 9.031 kB / 446.9 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003121/0.2899, allocations: 18.75 kB / 446.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.2899, allocations: 20.64 kB / 447 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.2899, allocations: 11.05 kB / 447 MB, free: 14.19 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004194/0.2904, allocations: 321.8 kB / 447.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2904, allocations: 0 / 447.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004364/0.2908, allocations: 132.8 kB / 447.4 MB, free: 14.02 MB / 366.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.001232/0.292, allocations: 1.071 MB / 448.5 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001004/0.293, allocations: 0.5554 MB / 449 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.293, allocations: 1.156 kB / 449 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002416/0.2933, allocations: 112.9 kB / 449.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006307/0.2939, allocations: 136.7 kB / 449.3 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006038/0.2999, allocations: 4.252 MB / 453.5 MB, free: 10.28 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004542/0.3004, allocations: 0.8195 MB / 454.4 MB, free: 9.574 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002286/0.3006, allocations: 71.02 kB / 454.4 MB, free: 9.559 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002365/0.3009, allocations: 159 kB / 454.6 MB, free: 9.445 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3009, allocations: 7.875 kB / 454.6 MB, free: 9.438 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04309/0.3439, allocations: 12.83 MB / 467.4 MB, free: 4.777 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.41, allocations: 9.234 kB / 467.4 MB, free: 4.773 MB / 366.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.694254792993888]