Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.001189/0.001189, allocations: 104.7 kB / 18.49 MB, free: 4.605 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.001246/0.001246, allocations: 189 kB / 21.43 MB, free: 1.676 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.36/1.36, allocations: 225.6 MB / 249.8 MB, free: 3.633 MB / 190.1 MB " [Timeout remaining time 178] 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.IndirectCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 47.94 kB / 366.3 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09063/0.09207, allocations: 52.14 MB / 418.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006564/0.09863, allocations: 5.636 MB / 424.1 MB, free: 6.973 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002551/0.1012, allocations: 1.425 MB / 425.5 MB, free: 5.539 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003193/0.1015, allocations: 15.88 kB / 425.6 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004528/0.102, allocations: 202.3 kB / 425.8 MB, free: 5.324 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000687/0.1026, allocations: 396.7 kB / 426.1 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004812/0.1031, allocations: 263.6 kB / 426.4 MB, free: 4.676 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001411/0.1045, allocations: 1.37 MB / 427.8 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000418/0.105, allocations: 267.3 kB / 428 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005607/0.1055, allocations: 0.5293 MB / 428.6 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006478/0.1062, allocations: 0.5835 MB / 429.1 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001546/0.1063, allocations: 120 kB / 429.3 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001751/0.1065, allocations: 120 kB / 429.4 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002076/0.1067, allocations: 251.2 kB / 429.6 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005484/0.1072, allocations: 0.6144 MB / 430.2 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001365/0.1086, allocations: 1.408 MB / 431.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1086, allocations: 0 / 431.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1086, allocations: 0 / 431.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.747e-05/0.1086, allocations: 4 kB / 431.6 MB, free: 15.38 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002595/0.1112, allocations: 1.512 MB / 433.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.1113, allocations: 8.031 kB / 433.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.203e-05/0.1113, allocations: 26.19 kB / 433.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002028/0.1115, allocations: 140.6 kB / 433.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002099/0.1117, allocations: 140.1 kB / 433.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009652/0.1127, allocations: 0.6427 MB / 434.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002152/0.1129, allocations: 155.6 kB / 434.3 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.113, allocations: 80.12 kB / 434.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/0.1146, allocations: 0.9939 MB / 435.3 MB, free: 11.44 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.1146, allocations: 3.953 kB / 435.3 MB, free: 11.43 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.293e-05/0.1147, allocations: 40 kB / 435.4 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.996e-05/0.1147, allocations: 19.94 kB / 435.4 MB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001322/0.116, allocations: 0.6324 MB / 436 MB, free: 10.74 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.004072/0.1201, allocations: 2.707 MB / 438.7 MB, free: 7.879 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00247/0.1226, allocations: 0.8346 MB / 439.6 MB, free: 7.016 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007263/0.1233, allocations: 346.6 kB / 439.9 MB, free: 6.676 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.158e-05/0.1233, allocations: 16.64 kB / 439.9 MB, free: 6.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.12e-05/0.1234, allocations: 51.16 kB / 440 MB, free: 6.602 MB / 366.1 MB Notification: Performance of pre-optimization done (n=82): time 2.615e-06/0.1234, allocations: 3.938 kB / 440 MB, free: 6.598 MB / 366.1 MB Notification: Performance of matching and sorting (n=118): time 0.01012/0.1335, allocations: 4.378 MB / 444.4 MB, free: 2.094 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1799/0.3134, allocations: 3.783 MB / 448.1 MB, free: 27.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008569/0.3143, allocations: 0.7848 MB / 448.9 MB, free: 27.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000218/0.3145, allocations: 53.36 kB / 449 MB, free: 27.67 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000249/0.3148, allocations: 414.3 kB / 449.4 MB, free: 27.58 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003087/0.3151, allocations: 435.3 kB / 449.8 MB, free: 27.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003726/0.3154, allocations: 229.1 kB / 450 MB, free: 27.44 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.861e-05/0.3155, allocations: 354.2 kB / 450.4 MB, free: 27.13 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009221/0.3164, allocations: 0.5751 MB / 450.9 MB, free: 27.13 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001079/0.3175, allocations: 0.9385 MB / 451.9 MB, free: 26.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001787/0.3193, allocations: 1.268 MB / 453.2 MB, free: 26.65 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.3193, allocations: 5.312 kB / 453.2 MB, free: 26.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003218/0.3225, allocations: 1.833 MB / 455 MB, free: 25.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.976e-05/0.3226, allocations: 85.59 kB / 455.1 MB, free: 25.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.3226, allocations: 2.594 kB / 455.1 MB, free: 25.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006226/0.3232, allocations: 289.4 kB / 455.4 MB, free: 25.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000946/0.3241, allocations: 213.2 kB / 455.6 MB, free: 25.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008001/0.3321, allocations: 13.36 MB / 468.9 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002371/0.3345, allocations: 200 kB / 469.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001318/0.3346, allocations: 53.17 kB / 469.2 MB, free: 12.56 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.000487/0.3351, allocations: 277.3 kB / 469.5 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001847/0.3353, allocations: 120.5 kB / 469.6 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002269/0.3355, allocations: 126.6 kB / 469.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003029/0.3386, allocations: 1.556 MB / 471.2 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.3386, allocations: 6.375 kB / 471.3 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004178/0.3428, allocations: 2.252 MB / 473.5 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007514/0.3503, allocations: 4.04 MB / 477.5 MB, free: 8.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.3503, allocations: 0 / 477.5 MB, free: 8.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009509/0.3512, allocations: 194.5 kB / 477.7 MB, free: 8.895 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002279/0.3535, allocations: 0.8083 MB / 478.5 MB, free: 8.719 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.182e-05/0.3536, allocations: 29.61 kB / 478.6 MB, free: 8.707 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00973/0.3633, allocations: 11.51 MB / 490.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00236/0.3657, allocations: 2.217 MB / 492.3 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005876/0.3715, allocations: 2.852 MB / 495.2 MB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006886/0.3722, allocations: 350.8 kB / 495.5 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000159/0.3724, allocations: 29.19 kB / 495.5 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001321/0.3737, allocations: 109.2 kB / 495.6 MB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002878/0.374, allocations: 112.3 kB / 495.7 MB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.501e-05/0.3741, allocations: 39.08 kB / 495.8 MB, free: 10.61 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006631/0.3747, allocations: 0.5478 MB / 496.3 MB, free: 10.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3747, allocations: 4 kB / 496.3 MB, free: 10.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001439/0.3762, allocations: 0.5905 MB / 496.9 MB, free: 10.25 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.005867/0.382, allocations: 3.441 MB / 0.4886 GB, free: 8.027 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004156/0.3862, allocations: 2.597 MB / 0.4912 GB, free: 5.277 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.842e-06/0.3862, allocations: 4 kB / 0.4912 GB, free: 5.273 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00284/0.3891, allocations: 1.533 MB / 0.4927 GB, free: 3.664 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/0.3905, allocations: 293.4 kB / 0.493 GB, free: 3.391 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01876/0.4092, allocations: 11.22 MB / 0.5039 GB, free: 7.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007352/0.41, allocations: 1.084 MB / 0.505 GB, free: 6.816 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006839/0.4107, allocations: 169 kB / 0.5051 GB, free: 6.648 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007461/0.4114, allocations: 471.2 kB / 0.5056 GB, free: 6.188 MB / 398.1 MB Notification: Performance of SimCode: time 8.21e-07/0.4114, allocations: 0 / 0.5056 GB, free: 6.188 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09275/0.5042, allocations: 37.49 MB / 0.5422 GB, free: 1.188 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.62/14.12, allocations: 8.047 kB / 0.5422 GB, free: 1.18 MB / 430.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling_fmu --startTime=0 --stopTime=1.5 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 16.613672586041503]