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.005475/0.005475, allocations: 100.1 kB / 21.96 MB, free: 5.211 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.001532/0.001532, allocations: 217.5 kB / 25.26 MB, free: 3.141 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.244/1.244, allocations: 207.7 MB / 236.1 MB, free: 9.812 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.001602/0.001602, allocations: 47.92 kB / 348 MB, free: 9.902 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2204, allocations: 49.16 MB / 397.1 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.004856/0.2252, allocations: 4.948 MB / 402.1 MB, free: 5.582 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002658/0.2279, allocations: 1.423 MB / 403.5 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005544/0.2284, allocations: 18.03 kB / 403.5 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004857/0.2289, allocations: 194.9 kB / 403.7 MB, free: 4.434 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007134/0.2296, allocations: 398 kB / 404.1 MB, free: 4.148 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004453/0.2301, allocations: 265.6 kB / 404.4 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001241/0.2313, allocations: 1.362 MB / 405.7 MB, free: 3.305 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004582/0.2318, allocations: 272.5 kB / 406 MB, free: 3.141 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008341/0.2326, allocations: 0.5192 MB / 406.5 MB, free: 2.902 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006251/0.2332, allocations: 0.5843 MB / 407.1 MB, free: 2.602 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001546/0.2334, allocations: 118.5 kB / 407.2 MB, free: 2.602 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001929/0.2336, allocations: 120.6 kB / 407.3 MB, free: 2.602 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001734/0.2338, allocations: 263.1 kB / 407.6 MB, free: 2.422 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004444/0.2342, allocations: 0.5129 MB / 408.1 MB, free: 2.16 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001278/0.2355, allocations: 1.415 MB / 409.5 MB, free: 1.594 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2355, allocations: 5.438 kB / 409.5 MB, free: 1.59 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2355, allocations: 0 / 409.5 MB, free: 1.59 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.491e-05/0.2355, allocations: 3.938 kB / 409.5 MB, free: 1.586 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.002072/0.2376, allocations: 1.442 MB / 411 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.2376, allocations: 13.64 kB / 411 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.537e-05/0.2377, allocations: 24.31 kB / 411 MB, free: 0.543 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001428/0.2378, allocations: 136.9 kB / 411.1 MB, free: 440 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001796/0.238, allocations: 134.7 kB / 411.3 MB, free: 376 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008633/0.2388, allocations: 0.5864 MB / 411.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002923/0.2391, allocations: 309.2 kB / 412.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.2392, allocations: 81.23 kB / 412.2 MB, free: 15.54 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002162/0.2414, allocations: 1.882 MB / 414.1 MB, free: 13.69 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.2414, allocations: 1.531 kB / 414.1 MB, free: 13.69 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.011e-05/0.2415, allocations: 33.38 kB / 414.1 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/0.2415, allocations: 17.78 kB / 414.2 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001234/0.2428, allocations: 0.6417 MB / 414.8 MB, free: 13.36 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.003835/0.2466, allocations: 2.035 MB / 416.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00228/0.2489, allocations: 0.7586 MB / 417.6 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007037/0.2496, allocations: 350.8 kB / 417.9 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.083e-05/0.2496, allocations: 10.94 kB / 418 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.71e-05/0.2497, allocations: 55.53 kB / 418 MB, free: 11.33 MB / 334.1 MB Notification: Performance of pre-optimization done (n=82): time 2.445e-06/0.2497, allocations: 0 / 418 MB, free: 11.33 MB / 334.1 MB Notification: Performance of matching and sorting (n=118): time 0.01031/0.26, allocations: 4.084 MB / 422.1 MB, free: 9.184 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004352/0.2643, allocations: 3.631 MB / 425.7 MB, free: 5.547 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/0.2655, allocations: 0.7825 MB / 426.5 MB, free: 4.754 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001581/0.2656, allocations: 57.69 kB / 426.6 MB, free: 4.691 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003533/0.266, allocations: 421.6 kB / 427 MB, free: 4.273 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004208/0.2664, allocations: 432.2 kB / 427.4 MB, free: 3.848 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004181/0.2668, allocations: 230.9 kB / 427.6 MB, free: 3.613 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.267, allocations: 345.9 kB / 428 MB, free: 3.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001103/0.2681, allocations: 0.6557 MB / 428.6 MB, free: 2.598 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001907/0.27, allocations: 1.9 MB / 430.5 MB, free: 344 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002107/0.2721, allocations: 1.272 MB / 431.8 MB, free: 15.03 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.2721, allocations: 0 / 431.8 MB, free: 15.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003522/0.2756, allocations: 1.919 MB / 433.7 MB, free: 13.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.411e-05/0.2757, allocations: 89.09 kB / 433.8 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.2757, allocations: 96 / 433.8 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006075/0.2763, allocations: 287.5 kB / 434.1 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009579/0.2773, allocations: 219.6 kB / 434.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01114/0.2884, allocations: 12.37 MB / 446.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002161/0.2906, allocations: 199.8 kB / 446.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001304/0.2907, allocations: 51.94 kB / 446.9 MB, free: 14.76 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.0005067/0.2912, allocations: 265.6 kB / 447.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002157/0.2914, allocations: 131.2 kB / 447.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002352/0.2917, allocations: 126.8 kB / 447.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003037/0.2947, allocations: 1.557 MB / 449 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.2947, allocations: 4 kB / 449 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004167/0.2989, allocations: 2.246 MB / 451.2 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007103/0.306, allocations: 3.575 MB / 454.8 MB, free: 6.621 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.306, allocations: 3.938 kB / 454.8 MB, free: 6.617 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009096/0.3069, allocations: 195.7 kB / 455 MB, free: 6.426 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002245/0.3091, allocations: 0.8097 MB / 455.8 MB, free: 5.598 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.098e-05/0.3092, allocations: 31.95 kB / 455.8 MB, free: 5.566 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01192/0.3212, allocations: 10.79 MB / 466.6 MB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002366/0.3235, allocations: 2.096 MB / 468.7 MB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005824/0.3293, allocations: 2.854 MB / 471.6 MB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007446/0.3301, allocations: 263.1 kB / 471.8 MB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001815/0.3303, allocations: 28 kB / 471.9 MB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/0.3315, allocations: 111.9 kB / 472 MB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002816/0.3317, allocations: 108.7 kB / 472.1 MB, free: 4.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-05/0.3318, allocations: 39.95 kB / 472.1 MB, free: 4.441 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000738/0.3326, allocations: 0.5498 MB / 472.7 MB, free: 3.895 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3326, allocations: 4 kB / 472.7 MB, free: 3.891 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001507/0.3341, allocations: 0.5938 MB / 473.3 MB, free: 3.297 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.006044/0.3401, allocations: 3.44 MB / 476.7 MB, free: 15.81 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003922/0.344, allocations: 2.665 MB / 479.4 MB, free: 12.97 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/0.3441, allocations: 4 kB / 479.4 MB, free: 12.96 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002565/0.3466, allocations: 1.532 MB / 480.9 MB, free: 11.35 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00148/0.3481, allocations: 291.6 kB / 481.2 MB, free: 11.07 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01934/0.3674, allocations: 11.53 MB / 492.7 MB, free: 15.19 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006246/0.3681, allocations: 0.4883 MB / 493.2 MB, free: 14.66 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008285/0.3689, allocations: 173 kB / 493.4 MB, free: 14.49 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008137/0.3697, allocations: 467.2 kB / 493.8 MB, free: 14.04 MB / 414.1 MB Notification: Performance of SimCode: time 8.81e-07/0.3697, allocations: 0 / 493.8 MB, free: 14.04 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09618/0.4659, allocations: 40.86 MB / 0.5222 GB, free: 4.965 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.71/15.18, allocations: 8.047 kB / 0.5222 GB, free: 4.957 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.523212279076688]