Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.005659/0.005659, allocations: 112 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.001529/0.001529, allocations: 202.5 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.261/1.261, allocations: 207.6 MB / 236 MB, free: 9.98 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.SimpleCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",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.001666/0.001666, allocations: 48.36 kB / 348 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.2271, allocations: 49.17 MB / 397.1 MB, free: 9.176 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.003461/0.2306, allocations: 3.509 MB / 400.6 MB, free: 6.688 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.2318, allocations: 1.001 MB / 401.6 MB, free: 5.961 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000152/0.2319, allocations: 8.594 kB / 401.7 MB, free: 5.957 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002614/0.2322, allocations: 105.3 kB / 401.8 MB, free: 5.898 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002877/0.2325, allocations: 190.3 kB / 401.9 MB, free: 5.762 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000239/0.2327, allocations: 125.6 kB / 402.1 MB, free: 5.691 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005403/0.2332, allocations: 0.637 MB / 402.7 MB, free: 5.363 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001983/0.2334, allocations: 127.9 kB / 402.8 MB, free: 5.285 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002088/0.2336, allocations: 256.3 kB / 403.1 MB, free: 5.164 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002881/0.2339, allocations: 277.7 kB / 403.3 MB, free: 5.023 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.877e-05/0.234, allocations: 51.81 kB / 403.4 MB, free: 5.023 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.404e-05/0.2341, allocations: 53.97 kB / 403.4 MB, free: 5.023 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.664e-05/0.2342, allocations: 120.8 kB / 403.6 MB, free: 4.941 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001988/0.2344, allocations: 291.7 kB / 403.9 MB, free: 4.773 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000536/0.2349, allocations: 0.6481 MB / 404.5 MB, free: 4.516 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.2349, allocations: 0 / 404.5 MB, free: 4.516 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2349, allocations: 1.031 kB / 404.5 MB, free: 4.516 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.2349, allocations: 0 / 404.5 MB, free: 4.516 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001062/0.236, allocations: 0.78 MB / 405.3 MB, free: 3.941 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.236, allocations: 13.92 kB / 405.3 MB, free: 3.938 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.503e-05/0.236, allocations: 15.14 kB / 405.3 MB, free: 3.934 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.609e-05/0.2361, allocations: 87.86 kB / 405.4 MB, free: 3.863 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.042e-05/0.2362, allocations: 68.69 kB / 405.5 MB, free: 3.828 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004515/0.2367, allocations: 341.1 kB / 405.8 MB, free: 3.574 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.698e-05/0.2368, allocations: 110.4 kB / 405.9 MB, free: 3.469 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.679e-05/0.2368, allocations: 49.56 kB / 406 MB, free: 3.445 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006026/0.2374, allocations: 478.6 kB / 406.4 MB, free: 3.141 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.2374, allocations: 1.312 kB / 406.4 MB, free: 3.141 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.492e-05/0.2375, allocations: 16.41 kB / 406.4 MB, free: 3.129 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.2375, allocations: 8.625 kB / 406.4 MB, free: 3.129 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005231/0.238, allocations: 296.5 kB / 406.7 MB, free: 3.035 MB / 318.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.001711/0.2397, allocations: 1.283 MB / 408 MB, free: 2.215 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008957/0.2406, allocations: 338.6 kB / 408.3 MB, free: 2.086 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002437/0.2408, allocations: 144.8 kB / 408.5 MB, free: 2.027 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.868e-05/0.2409, allocations: 7.266 kB / 408.5 MB, free: 2.027 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.561e-05/0.2409, allocations: 38.84 kB / 408.5 MB, free: 1.984 MB / 318.1 MB Notification: Performance of pre-optimization done (n=38): time 1.563e-06/0.2409, allocations: 0 / 408.5 MB, free: 1.984 MB / 318.1 MB Notification: Performance of matching and sorting (n=53): time 0.003476/0.2444, allocations: 1.652 MB / 410.2 MB, free: 1.191 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002064/0.2464, allocations: 2.367 MB / 412.6 MB, free: 15 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005162/0.247, allocations: 449 kB / 413 MB, free: 14.78 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.456e-05/0.247, allocations: 37.33 kB / 413 MB, free: 14.74 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001925/0.2472, allocations: 239.5 kB / 413.3 MB, free: 14.54 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001626/0.2474, allocations: 187.6 kB / 413.4 MB, free: 14.4 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001826/0.2475, allocations: 105.1 kB / 413.5 MB, free: 14.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.2477, allocations: 374.3 kB / 413.9 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003769/0.2481, allocations: 189.7 kB / 414.1 MB, free: 13.89 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000515/0.2486, allocations: 348 kB / 414.4 MB, free: 13.63 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007637/0.2494, allocations: 447.7 kB / 414.9 MB, free: 13.38 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.2494, allocations: 0 / 414.9 MB, free: 13.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001244/0.2506, allocations: 0.6842 MB / 415.6 MB, free: 12.98 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.639e-05/0.2506, allocations: 36.11 kB / 415.6 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.2506, allocations: 0 / 415.6 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002742/0.2509, allocations: 129 kB / 415.7 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004357/0.2514, allocations: 105.9 kB / 415.8 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004947/0.2563, allocations: 5.566 MB / 421.4 MB, free: 7.293 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005394/0.2568, allocations: 35.47 kB / 421.4 MB, free: 7.273 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-05/0.2569, allocations: 15.47 kB / 421.4 MB, free: 7.27 MB / 334.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.0002557/0.2571, allocations: 182.4 kB / 421.6 MB, free: 7.109 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.2572, allocations: 61.38 kB / 421.7 MB, free: 7.078 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001272/0.2574, allocations: 65.45 kB / 421.7 MB, free: 7.023 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.2574, allocations: 5.688 kB / 421.7 MB, free: 7.023 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.2574, allocations: 1.031 kB / 421.7 MB, free: 7.023 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001428/0.2588, allocations: 0.9577 MB / 422.7 MB, free: 6.207 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002713/0.2615, allocations: 1.438 MB / 424.1 MB, free: 5.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.2615, allocations: 0 / 424.1 MB, free: 5.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004013/0.2619, allocations: 86.09 kB / 424.2 MB, free: 5.137 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004374/0.2624, allocations: 160.5 kB / 424.4 MB, free: 5.047 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.617e-05/0.2624, allocations: 18.17 kB / 424.4 MB, free: 5.031 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004766/0.2672, allocations: 4.706 MB / 429.1 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001524/0.2687, allocations: 1.643 MB / 430.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001877/0.2706, allocations: 0.9495 MB / 431.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002863/0.2709, allocations: 106.2 kB / 431.8 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.031e-05/0.2709, allocations: 16 kB / 431.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004113/0.2713, allocations: 28.77 kB / 431.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.2715, allocations: 46.16 kB / 431.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-05/0.2715, allocations: 13.05 kB / 431.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003884/0.2719, allocations: 320.5 kB / 432.2 MB, free: 14.01 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2719, allocations: 1.281 kB / 432.2 MB, free: 14.01 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006613/0.2725, allocations: 193.6 kB / 432.4 MB, free: 13.98 MB / 350.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.002165/0.2747, allocations: 1.516 MB / 433.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001787/0.2765, allocations: 0.9916 MB / 434.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.2765, allocations: 4 kB / 434.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001025/0.2775, allocations: 0.596 MB / 435.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007932/0.2783, allocations: 142.3 kB / 435.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007805/0.2861, allocations: 5.304 MB / 441 MB, free: 5.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004846/0.2866, allocations: 0.8526 MB / 441.8 MB, free: 4.641 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002825/0.2869, allocations: 68.75 kB / 441.9 MB, free: 4.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002806/0.2872, allocations: 191.4 kB / 442.1 MB, free: 4.383 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2872, allocations: 0 / 442.1 MB, free: 4.383 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05514/0.3423, allocations: 16.67 MB / 458.7 MB, free: 3.648 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/13.52, allocations: 12.05 kB / 458.7 MB, free: 3.637 MB / 366.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 15.743410005001351]