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.001227/0.001227, allocations: 118.6 kB / 19.16 MB, free: 3.914 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.001293/0.001293, allocations: 211.7 kB / 22.12 MB, free: 0.9648 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.326/1.326, allocations: 207.6 MB / 232.5 MB, free: 3.773 MB / 174.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.001636/0.001636, allocations: 55.91 kB / 343 MB, free: 10 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08263/0.08426, allocations: 49.13 MB / 392.1 MB, free: 8.707 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004648/0.08891, allocations: 3.505 MB / 395.6 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.09053, allocations: 0.9975 MB / 396.6 MB, free: 4.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001744/0.0907, allocations: 7.938 kB / 396.6 MB, free: 4.172 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003128/0.09102, allocations: 107.1 kB / 396.7 MB, free: 4.066 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003654/0.09138, allocations: 190.4 kB / 396.9 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002662/0.09165, allocations: 127.8 kB / 397 MB, free: 3.754 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006827/0.09233, allocations: 0.6341 MB / 397.7 MB, free: 3.117 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002203/0.09255, allocations: 126.9 kB / 397.8 MB, free: 2.988 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002386/0.09279, allocations: 255.1 kB / 398 MB, free: 2.738 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003189/0.09311, allocations: 270.9 kB / 398.3 MB, free: 2.473 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.738e-05/0.09318, allocations: 52 kB / 398.4 MB, free: 2.422 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.237e-05/0.09327, allocations: 56 kB / 398.4 MB, free: 2.367 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.86e-05/0.09337, allocations: 115.6 kB / 398.5 MB, free: 2.254 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000263/0.09363, allocations: 302.6 kB / 398.8 MB, free: 1.957 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006545/0.09428, allocations: 0.6381 MB / 399.5 MB, free: 1.316 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.09429, allocations: 0 / 399.5 MB, free: 1.316 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.09429, allocations: 0 / 399.5 MB, free: 1.316 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.399e-05/0.0943, allocations: 0 / 399.5 MB, free: 1.316 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.001379/0.09568, allocations: 0.8658 MB / 400.3 MB, free: 404 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.09572, allocations: 11.97 kB / 400.3 MB, free: 392 kB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.663e-05/0.09577, allocations: 13.17 kB / 400.3 MB, free: 380 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001145/0.09588, allocations: 87.66 kB / 400.4 MB, free: 280 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.09599, allocations: 64.56 kB / 400.5 MB, free: 216 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006092/0.0966, allocations: 403.3 kB / 400.9 MB, free: 15.78 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001082/0.09671, allocations: 67.19 kB / 401 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.738e-05/0.09678, allocations: 40.12 kB / 401 MB, free: 15.67 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007496/0.09753, allocations: 478.1 kB / 401.5 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.09754, allocations: 0 / 401.5 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.946e-05/0.09758, allocations: 16 kB / 401.5 MB, free: 15.13 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.09759, allocations: 8 kB / 401.5 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005826/0.09817, allocations: 295.8 kB / 401.8 MB, free: 14.83 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.002137/0.1003, allocations: 1.332 MB / 403.1 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.1014, allocations: 411.7 kB / 403.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002805/0.1016, allocations: 144.9 kB / 403.7 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.556e-05/0.1017, allocations: 8.531 kB / 403.7 MB, free: 12.83 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.1017, allocations: 42.56 kB / 403.7 MB, free: 12.78 MB / 334.1 MB Notification: Performance of pre-optimization done (n=38): time 1.363e-06/0.1017, allocations: 0 / 403.7 MB, free: 12.78 MB / 334.1 MB Notification: Performance of matching and sorting (n=53): time 0.004219/0.1059, allocations: 1.882 MB / 405.6 MB, free: 10.79 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002523/0.1085, allocations: 2.47 MB / 408.1 MB, free: 8.066 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005341/0.109, allocations: 446 kB / 408.5 MB, free: 7.625 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.075e-05/0.109, allocations: 45.7 kB / 408.5 MB, free: 7.574 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/0.1092, allocations: 236.9 kB / 408.8 MB, free: 7.336 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/0.1094, allocations: 182.4 kB / 408.9 MB, free: 7.156 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001853/0.1096, allocations: 110.2 kB / 409 MB, free: 7.043 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.1097, allocations: 366.7 kB / 409.4 MB, free: 6.676 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003894/0.1101, allocations: 189 kB / 409.6 MB, free: 6.492 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005359/0.1107, allocations: 352.6 kB / 409.9 MB, free: 6.094 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008142/0.1115, allocations: 454 kB / 410.4 MB, free: 5.641 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1115, allocations: 0 / 410.4 MB, free: 5.641 MB / 334.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001363/0.1128, allocations: 0.6793 MB / 411.1 MB, free: 4.934 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.901e-05/0.1129, allocations: 29.73 kB / 411.1 MB, free: 4.898 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1129, allocations: 4 kB / 411.1 MB, free: 4.895 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003117/0.1132, allocations: 127.3 kB / 411.2 MB, free: 4.758 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004683/0.1137, allocations: 103.9 kB / 411.3 MB, free: 4.656 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00535/0.119, allocations: 5.977 MB / 417.3 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005247/0.1195, allocations: 32.02 kB / 417.3 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.965e-05/0.1196, allocations: 23.98 kB / 417.3 MB, free: 14.07 MB / 350.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.0002532/0.1198, allocations: 185.7 kB / 417.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.992e-05/0.1199, allocations: 59.62 kB / 417.6 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001384/0.1201, allocations: 65.34 kB / 417.7 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.1201, allocations: 8 kB / 417.7 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.1201, allocations: 0 / 417.7 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001446/0.1215, allocations: 0.9546 MB / 418.6 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002476/0.124, allocations: 1.479 MB / 420.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.124, allocations: 0 / 420.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003914/0.1244, allocations: 79.89 kB / 420.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004404/0.1248, allocations: 170.6 kB / 420.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.385e-05/0.1249, allocations: 15.98 kB / 420.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004809/0.1297, allocations: 5.014 MB / 425.4 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001539/0.1312, allocations: 1.738 MB / 427.1 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001805/0.133, allocations: 0.9552 MB / 428.1 MB, free: 2.555 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002522/0.1333, allocations: 180.7 kB / 428.2 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.416e-05/0.1333, allocations: 15.94 kB / 428.3 MB, free: 2.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004055/0.1338, allocations: 23.97 kB / 428.3 MB, free: 2.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.1339, allocations: 48.31 kB / 428.3 MB, free: 2.273 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3e-05/0.1339, allocations: 12.09 kB / 428.3 MB, free: 2.262 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000382/0.1343, allocations: 331.1 kB / 428.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1343, allocations: 4.062 kB / 428.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006529/0.1349, allocations: 188 kB / 428.8 MB, free: 1.754 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.002146/0.1371, allocations: 1.518 MB / 430.4 MB, free: 200 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001579/0.1386, allocations: 0.9764 MB / 431.3 MB, free: 15.15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1386, allocations: 0 / 431.3 MB, free: 15.15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009581/0.1396, allocations: 0.6195 MB / 432 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000627/0.1402, allocations: 133.9 kB / 432.1 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007532/0.1478, allocations: 5.294 MB / 437.4 MB, free: 8.934 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004668/0.1482, allocations: 0.8564 MB / 438.2 MB, free: 8.051 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002674/0.1485, allocations: 76.73 kB / 438.3 MB, free: 7.973 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002687/0.1488, allocations: 179.4 kB / 438.5 MB, free: 7.797 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1488, allocations: 4 kB / 438.5 MB, free: 7.793 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04971/0.1985, allocations: 16.28 MB / 454.8 MB, free: 7.449 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/12.52, allocations: 4.062 kB / 454.8 MB, free: 7.445 MB / 382.1 MB " [Timeout remaining time 647] (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: 14.943805667047855]