Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.001463/0.001463, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001608/0.001608, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.348/1.348, allocations: 230.6 MB / 258.3 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 179] 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.IndirectCooling,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 43.92 kB / 378.6 MB, free: 3.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.2108, allocations: 53.37 MB / 431.9 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006292/0.2171, allocations: 5.662 MB / 437.6 MB, free: 1.191 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002231/0.2194, allocations: 1.469 MB / 439.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002446/0.2196, allocations: 15.94 kB / 439.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000407/0.22, allocations: 194.3 kB / 439.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006424/0.2207, allocations: 392.7 kB / 439.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004159/0.2211, allocations: 259.6 kB / 439.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001309/0.2224, allocations: 1.361 MB / 441.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004133/0.2228, allocations: 271.8 kB / 441.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005708/0.2234, allocations: 0.5294 MB / 442.1 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006906/0.2241, allocations: 0.5835 MB / 442.6 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001637/0.2242, allocations: 123.9 kB / 442.8 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001753/0.2244, allocations: 120 kB / 442.9 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002059/0.2246, allocations: 255.1 kB / 443.1 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000542/0.2251, allocations: 0.6222 MB / 443.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001313/0.2265, allocations: 1.4 MB / 445.2 MB, free: 9.578 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2265, allocations: 0 / 445.2 MB, free: 9.578 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.2265, allocations: 0 / 445.2 MB, free: 9.578 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.2265, allocations: 3.938 kB / 445.2 MB, free: 9.574 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002485/0.229, allocations: 1.444 MB / 446.6 MB, free: 8.078 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.229, allocations: 12.03 kB / 446.6 MB, free: 8.066 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.072e-05/0.2291, allocations: 26.12 kB / 446.6 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001799/0.2292, allocations: 128.7 kB / 446.8 MB, free: 7.906 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002081/0.2294, allocations: 140.1 kB / 446.9 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009511/0.2304, allocations: 0.5824 MB / 447.5 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002769/0.2307, allocations: 309.9 kB / 447.8 MB, free: 6.801 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.2308, allocations: 80.08 kB / 447.9 MB, free: 6.723 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001504/0.2323, allocations: 0.9979 MB / 448.9 MB, free: 5.609 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.2323, allocations: 0 / 448.9 MB, free: 5.609 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.638e-05/0.2324, allocations: 36 kB / 448.9 MB, free: 5.574 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.977e-05/0.2324, allocations: 19.98 kB / 448.9 MB, free: 5.555 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001299/0.2337, allocations: 0.6403 MB / 449.6 MB, free: 4.91 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.003976/0.2377, allocations: 2.645 MB / 452.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002383/0.2401, allocations: 0.765 MB / 453 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007159/0.2408, allocations: 351.3 kB / 453.3 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.328e-05/0.2408, allocations: 16.62 kB / 453.3 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.045e-05/0.2409, allocations: 59.16 kB / 453.4 MB, free: 0.918 MB / 350.1 MB Notification: Performance of pre-optimization done (n=82): time 2.144e-06/0.2409, allocations: 0 / 453.4 MB, free: 0.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=118): time 0.009534/0.2504, allocations: 4.071 MB / 457.5 MB, free: 12.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004257/0.2547, allocations: 3.694 MB / 461.1 MB, free: 8.758 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009964/0.2557, allocations: 0.7942 MB / 461.9 MB, free: 7.957 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001034/0.2558, allocations: 49.7 kB / 462 MB, free: 7.902 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003537/0.2561, allocations: 421.6 kB / 462.4 MB, free: 7.484 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003721/0.2565, allocations: 424.3 kB / 462.8 MB, free: 7.066 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004264/0.2569, allocations: 230.9 kB / 463 MB, free: 6.832 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.2571, allocations: 353.9 kB / 463.4 MB, free: 6.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001074/0.2581, allocations: 0.5765 MB / 464 MB, free: 5.906 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001412/0.2596, allocations: 0.931 MB / 464.9 MB, free: 4.848 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002108/0.2617, allocations: 1.271 MB / 466.2 MB, free: 3.543 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.2617, allocations: 0 / 466.2 MB, free: 3.543 MB / 366.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003332/0.265, allocations: 1.836 MB / 468 MB, free: 1.652 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.829e-05/0.2651, allocations: 97.03 kB / 468.1 MB, free: 1.539 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.2651, allocations: 0 / 468.1 MB, free: 1.539 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006075/0.2657, allocations: 287.5 kB / 468.4 MB, free: 1.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009459/0.2666, allocations: 215.7 kB / 468.6 MB, free: 1.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01072/0.2773, allocations: 12.44 MB / 481 MB, free: 3.539 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002093/0.2794, allocations: 203.8 kB / 481.2 MB, free: 3.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/0.2796, allocations: 51.94 kB / 481.3 MB, free: 3.289 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (117): * Single equations (assignments): 103 * Array equations: 2 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (3,1,88.9%), (3,1,88.9%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,1), (3,1), (1,1), (3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004835/0.28, allocations: 269.6 kB / 481.5 MB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002078/0.2803, allocations: 123.3 kB / 481.7 MB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002242/0.2805, allocations: 118.8 kB / 481.8 MB, free: 2.773 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003146/0.2836, allocations: 1.561 MB / 483.3 MB, free: 1.191 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.2836, allocations: 0 / 483.3 MB, free: 1.191 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004348/0.288, allocations: 2.246 MB / 485.6 MB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007532/0.2955, allocations: 4.003 MB / 489.6 MB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.2955, allocations: 4 kB / 489.6 MB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008984/0.2964, allocations: 191.7 kB / 489.8 MB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002364/0.2988, allocations: 0.8037 MB / 490.6 MB, free: 9.723 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-05/0.2989, allocations: 39.88 kB / 490.6 MB, free: 9.684 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01187/0.3107, allocations: 10.9 MB / 0.4898 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002436/0.3132, allocations: 2.11 MB / 0.4918 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005975/0.3191, allocations: 2.854 MB / 0.4946 GB, free: 8.984 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007179/0.3199, allocations: 267.1 kB / 0.4949 GB, free: 8.723 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002468/0.3201, allocations: 28 kB / 0.4949 GB, free: 8.695 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001322/0.3214, allocations: 107.9 kB / 0.495 GB, free: 8.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002838/0.3217, allocations: 116.6 kB / 0.4951 GB, free: 8.477 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.407e-05/0.3218, allocations: 43.95 kB / 0.4951 GB, free: 8.434 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007242/0.3225, allocations: 0.5459 MB / 0.4957 GB, free: 7.891 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3225, allocations: 0 / 0.4957 GB, free: 7.891 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001482/0.324, allocations: 0.6016 MB / 0.4963 GB, free: 7.289 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],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 (93): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(3,1,88.9%), (1,1,100.0%), (3,1,88.9%), (1,1,100.0%), (1,2,100.0%), (5,11,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006204/0.3302, allocations: 3.432 MB / 0.4996 GB, free: 3.805 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003978/0.3342, allocations: 2.586 MB / 0.5021 GB, free: 1.066 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.3342, allocations: 0 / 0.5021 GB, free: 1.066 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002719/0.3369, allocations: 1.54 MB / 0.5037 GB, free: 15.45 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/0.3383, allocations: 287.3 kB / 0.5039 GB, free: 15.17 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01785/0.3561, allocations: 11.24 MB / 0.5149 GB, free: 3.664 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007309/0.3568, allocations: 1.08 MB / 0.516 GB, free: 2.555 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006246/0.3575, allocations: 173 kB / 0.5161 GB, free: 2.383 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007208/0.3582, allocations: 463.2 kB / 0.5166 GB, free: 1.93 MB / 430.1 MB Notification: Performance of SimCode: time 6.32e-07/0.3582, allocations: 0 / 0.5166 GB, free: 1.93 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2875/0.6456, allocations: 38.6 MB / 0.5543 GB, free: 121.9 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.66/15.3, allocations: 6.625 kB / 0.5543 GB, free: 121.9 MB / 462.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling_fmu --startTime=0 --stopTime=1.5 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling.fmu > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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: 17.744966692000162]