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.001495/0.001495, allocations: 116.2 kB / 18.49 MB, free: 4.559 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.001574/0.001574, allocations: 218.9 kB / 21.46 MB, free: 1.605 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.381/1.381, allocations: 230.6 MB / 254.8 MB, free: 15.22 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 55.91 kB / 373.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0912/0.09262, allocations: 53.32 MB / 427 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004521/0.09715, allocations: 3.514 MB / 430.5 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001511/0.09866, allocations: 0.9891 MB / 431.5 MB, free: 280 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001582/0.09881, allocations: 11.94 kB / 431.5 MB, free: 268 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000287/0.0991, allocations: 103.1 kB / 431.6 MB, free: 164 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003587/0.09946, allocations: 198.5 kB / 431.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002434/0.0997, allocations: 119.8 kB / 431.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000688/0.1004, allocations: 0.6449 MB / 432.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002319/0.1006, allocations: 138.8 kB / 432.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002424/0.1009, allocations: 243.2 kB / 433 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003381/0.1012, allocations: 274.8 kB / 433.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.076e-05/0.1013, allocations: 56 kB / 433.3 MB, free: 14.49 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.108e-05/0.1014, allocations: 52 kB / 433.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.1015, allocations: 119.6 kB / 433.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002651/0.1017, allocations: 290.6 kB / 433.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006541/0.1024, allocations: 0.6497 MB / 434.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1024, allocations: 0 / 434.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1024, allocations: 0 / 434.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.1024, allocations: 0 / 434.4 MB, free: 13.39 MB / 366.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.00136/0.1038, allocations: 0.8581 MB / 435.2 MB, free: 12.47 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.1038, allocations: 12.03 kB / 435.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.207e-05/0.1038, allocations: 17.12 kB / 435.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001078/0.1039, allocations: 79.67 kB / 435.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001112/0.1041, allocations: 68.56 kB / 435.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005604/0.1046, allocations: 399.3 kB / 435.8 MB, free: 11.86 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.8e-05/0.1047, allocations: 63.2 kB / 435.9 MB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.216e-05/0.1048, allocations: 36.12 kB / 435.9 MB, free: 11.76 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007428/0.1055, allocations: 482.1 kB / 436.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.1055, allocations: 3.953 kB / 436.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.219e-05/0.1056, allocations: 20 kB / 436.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.1056, allocations: 8 kB / 436.4 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005732/0.1062, allocations: 287.8 kB / 436.7 MB, free: 10.92 MB / 366.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.00209/0.1082, allocations: 1.336 MB / 438 MB, free: 9.488 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/0.1093, allocations: 407.7 kB / 438.4 MB, free: 9.062 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002837/0.1096, allocations: 143 kB / 438.6 MB, free: 8.922 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.383e-05/0.1096, allocations: 8.531 kB / 438.6 MB, free: 8.914 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.1097, allocations: 46.56 kB / 438.6 MB, free: 8.859 MB / 366.1 MB Notification: Performance of pre-optimization done (n=38): time 1.563e-06/0.1097, allocations: 0 / 438.6 MB, free: 8.859 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.004196/0.1139, allocations: 1.876 MB / 440.5 MB, free: 6.883 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002532/0.1164, allocations: 2.462 MB / 442.9 MB, free: 4.168 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005406/0.1169, allocations: 461.8 kB / 443.4 MB, free: 3.711 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.287e-05/0.117, allocations: 37.7 kB / 443.4 MB, free: 3.668 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/0.1172, allocations: 225 kB / 443.7 MB, free: 3.441 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/0.1173, allocations: 198.3 kB / 443.8 MB, free: 3.246 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001823/0.1175, allocations: 102.2 kB / 443.9 MB, free: 3.141 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.1177, allocations: 370.8 kB / 444.3 MB, free: 2.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004003/0.1181, allocations: 189 kB / 444.5 MB, free: 2.582 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005279/0.1186, allocations: 348.7 kB / 444.8 MB, free: 2.195 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007848/0.1194, allocations: 450 kB / 445.3 MB, free: 1.746 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1194, allocations: 0 / 445.3 MB, free: 1.746 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001323/0.1207, allocations: 0.6832 MB / 446 MB, free: 1.035 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.812e-05/0.1208, allocations: 33.7 kB / 446 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.1208, allocations: 0 / 446 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003011/0.1211, allocations: 135.3 kB / 446.1 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004555/0.1215, allocations: 95.88 kB / 446.2 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1753/0.2968, allocations: 5.975 MB / 452.2 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005734/0.2974, allocations: 36.5 kB / 452.2 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.005e-05/0.2974, allocations: 22.64 kB / 452.2 MB, free: 19 MB / 366.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.0002034/0.2976, allocations: 178.9 kB / 452.4 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.308e-05/0.2977, allocations: 59.42 kB / 452.5 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.2978, allocations: 65.25 kB / 452.5 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.2978, allocations: 6.25 kB / 452.5 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.2978, allocations: 5.5 kB / 452.6 MB, free: 18.87 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001113/0.2989, allocations: 0.952 MB / 453.5 MB, free: 18.31 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002119/0.3011, allocations: 1.468 MB / 455 MB, free: 17.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.3011, allocations: 2.422 kB / 455 MB, free: 17.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003743/0.3014, allocations: 82.91 kB / 455.1 MB, free: 17.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004174/0.3019, allocations: 164 kB / 455.2 MB, free: 17.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.249e-05/0.3019, allocations: 12.7 kB / 455.2 MB, free: 17.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003361/0.3053, allocations: 5.022 MB / 460.3 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001068/0.3063, allocations: 1.751 MB / 462 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001588/0.3079, allocations: 0.9518 MB / 463 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001902/0.3081, allocations: 184.3 kB / 463.1 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.907e-05/0.3082, allocations: 13.34 kB / 463.1 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000412/0.3086, allocations: 25.44 kB / 463.2 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.993e-05/0.3087, allocations: 48.5 kB / 463.2 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.018e-05/0.3087, allocations: 11.42 kB / 463.2 MB, free: 10.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003246/0.309, allocations: 323.3 kB / 463.5 MB, free: 10.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.309, allocations: 0 / 463.5 MB, free: 10.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006273/0.3097, allocations: 193.1 kB / 463.7 MB, free: 10.73 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.001794/0.3115, allocations: 1.518 MB / 465.3 MB, free: 9.734 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001413/0.3129, allocations: 0.985 MB / 466.2 MB, free: 9.055 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3129, allocations: 1.281 kB / 466.2 MB, free: 9.055 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007876/0.3137, allocations: 0.6036 MB / 466.8 MB, free: 8.625 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006135/0.3143, allocations: 146 kB / 467 MB, free: 8.578 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006496/0.3208, allocations: 5.287 MB / 472.3 MB, free: 5.641 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.321, allocations: 0.859 MB / 473.1 MB, free: 4.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002746/0.3213, allocations: 69.92 kB / 473.2 MB, free: 4.918 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002388/0.3216, allocations: 188.1 kB / 473.4 MB, free: 4.789 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3216, allocations: 0 / 473.4 MB, free: 4.789 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04869/0.3703, allocations: 16.28 MB / 489.7 MB, free: 14.83 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/12.6, allocations: 10.58 kB / 489.7 MB, free: 14.82 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.937808716029394]