Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.004584/0.004584, allocations: 110.9 kB / 21.97 MB, free: 5.25 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.001368/0.001368, allocations: 205.1 kB / 25.27 MB, free: 3.238 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.291/1.291, allocations: 207.6 MB / 236 MB, free: 9.996 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001726/0.001726, allocations: 51.94 kB / 348 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2349, allocations: 49.16 MB / 397.1 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.005178/0.2401, allocations: 5.634 MB / 402.8 MB, free: 4.957 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002154/0.2422, allocations: 1.483 MB / 404.3 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004293/0.2426, allocations: 13.78 kB / 404.3 MB, free: 3.863 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004747/0.2431, allocations: 198.5 kB / 404.5 MB, free: 3.75 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007373/0.2439, allocations: 394.8 kB / 404.9 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00057/0.2444, allocations: 263.9 kB / 405.1 MB, free: 3.324 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001243/0.2457, allocations: 1.364 MB / 406.5 MB, free: 2.625 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003661/0.246, allocations: 267.5 kB / 406.7 MB, free: 2.465 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000581/0.2466, allocations: 0.5217 MB / 407.3 MB, free: 2.223 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006093/0.2472, allocations: 0.5854 MB / 407.8 MB, free: 1.922 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001434/0.2474, allocations: 118.9 kB / 408 MB, free: 1.922 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001792/0.2476, allocations: 119.2 kB / 408.1 MB, free: 1.922 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001604/0.2477, allocations: 256.3 kB / 408.3 MB, free: 1.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000422/0.2481, allocations: 0.6132 MB / 408.9 MB, free: 1.387 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00131/0.2494, allocations: 1.407 MB / 410.3 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2495, allocations: 6.375 kB / 410.4 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2495, allocations: 0 / 410.4 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.783e-05/0.2495, allocations: 0 / 410.4 MB, free: 0.8164 MB / 318.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.002348/0.2518, allocations: 1.438 MB / 411.8 MB, free: 15.81 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.2519, allocations: 18.41 kB / 411.8 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.371e-05/0.2519, allocations: 22.44 kB / 411.8 MB, free: 15.79 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001879/0.2521, allocations: 134.1 kB / 412 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002144/0.2523, allocations: 135.2 kB / 412.1 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/0.2533, allocations: 0.5847 MB / 412.7 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002894/0.2536, allocations: 317.4 kB / 413 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.2537, allocations: 74.31 kB / 413.1 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/0.2552, allocations: 1.001 MB / 414.1 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.2553, allocations: 1.219 kB / 414.1 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.229e-05/0.2553, allocations: 33.59 kB / 414.1 MB, free: 14.01 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.2553, allocations: 17.12 kB / 414.1 MB, free: 14.01 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001265/0.2566, allocations: 0.634 MB / 414.7 MB, free: 13.71 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.004177/0.2608, allocations: 2.654 MB / 417.4 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002346/0.2631, allocations: 0.767 MB / 418.2 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000712/0.2639, allocations: 350.7 kB / 418.5 MB, free: 11.03 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.896e-05/0.2639, allocations: 19.81 kB / 418.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.607e-05/0.264, allocations: 54.34 kB / 418.6 MB, free: 10.96 MB / 334.1 MB Notification: Performance of pre-optimization done (n=82): time 2.244e-06/0.264, allocations: 0 / 418.6 MB, free: 10.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=118): time 0.01004/0.274, allocations: 4.078 MB / 422.7 MB, free: 8.816 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004278/0.2783, allocations: 3.686 MB / 426.3 MB, free: 5.238 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/0.2794, allocations: 0.7942 MB / 427.1 MB, free: 4.434 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001444/0.2795, allocations: 53.7 kB / 427.2 MB, free: 4.375 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003475/0.2799, allocations: 417.5 kB / 427.6 MB, free: 3.961 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004042/0.2803, allocations: 432.4 kB / 428 MB, free: 3.535 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004074/0.2807, allocations: 226.9 kB / 428.2 MB, free: 3.305 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.2809, allocations: 353.9 kB / 428.6 MB, free: 2.953 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001048/0.2819, allocations: 0.5726 MB / 429.2 MB, free: 2.383 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001421/0.2833, allocations: 0.9387 MB / 430.1 MB, free: 1.316 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002117/0.2854, allocations: 1.275 MB / 431.4 MB, free: 8 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2854, allocations: 0 / 431.4 MB, free: 8 kB / 334.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003372/0.2888, allocations: 1.829 MB / 433.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.337e-05/0.2889, allocations: 89.09 kB / 433.3 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.2889, allocations: 0 / 433.3 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005858/0.2895, allocations: 291.5 kB / 433.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000949/0.2904, allocations: 219.6 kB / 433.8 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01102/0.3015, allocations: 12.44 MB / 446.2 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002338/0.3038, allocations: 203.8 kB / 446.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001465/0.3039, allocations: 51.94 kB / 446.5 MB, free: 15.77 MB / 366.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.000534/0.3045, allocations: 269.6 kB / 446.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002329/0.3047, allocations: 127.2 kB / 446.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002362/0.3049, allocations: 118.8 kB / 447 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003247/0.3082, allocations: 1.561 MB / 448.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.3082, allocations: 0 / 448.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004408/0.3126, allocations: 2.25 MB / 450.8 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007949/0.3205, allocations: 3.996 MB / 454.8 MB, free: 7.215 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.3206, allocations: 7.938 kB / 454.8 MB, free: 7.207 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009065/0.3215, allocations: 195.7 kB / 455 MB, free: 7.016 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002321/0.3238, allocations: 0.8045 MB / 455.8 MB, free: 6.191 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.071e-05/0.3239, allocations: 31.95 kB / 455.8 MB, free: 6.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01246/0.3363, allocations: 10.89 MB / 466.7 MB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002578/0.3389, allocations: 2.127 MB / 468.8 MB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006211/0.3451, allocations: 2.846 MB / 471.7 MB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008988/0.346, allocations: 271.1 kB / 471.9 MB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001798/0.3462, allocations: 32 kB / 472 MB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0013/0.3475, allocations: 107.9 kB / 472.1 MB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002901/0.3478, allocations: 112.7 kB / 472.2 MB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.028e-05/0.3479, allocations: 35.95 kB / 472.2 MB, free: 4.906 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007567/0.3486, allocations: 0.5536 MB / 472.8 MB, free: 4.355 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3486, allocations: 0 / 472.8 MB, free: 4.355 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001559/0.3502, allocations: 0.5938 MB / 473.4 MB, free: 3.762 MB / 382.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.006111/0.3563, allocations: 3.436 MB / 476.8 MB, free: 284 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004014/0.3603, allocations: 2.582 MB / 479.4 MB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.3603, allocations: 4 kB / 479.4 MB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002707/0.363, allocations: 1.536 MB / 480.9 MB, free: 11.92 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001421/0.3645, allocations: 291.9 kB / 481.2 MB, free: 11.64 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01824/0.3827, allocations: 11.23 MB / 492.5 MB, free: 132 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007319/0.3834, allocations: 1.076 MB / 493.5 MB, free: 15.03 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0007194/0.3842, allocations: 165 kB / 493.7 MB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007076/0.3849, allocations: 471.1 kB / 494.1 MB, free: 14.4 MB / 414.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3849, allocations: 0 / 494.1 MB, free: 14.4 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09868/0.4835, allocations: 38.61 MB / 0.5203 GB, free: 7.684 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.65/15.13, allocations: 3.984 kB / 0.5203 GB, free: 7.68 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling_fmu --startTime=0 --stopTime=1.5 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.54709625703981]