Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0007823/0.0007823, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0007425/0.0007425, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8444/0.8444, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 324.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.429e-05/1.568e-05, allocations: 6.219 kB / 324.6 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.002901/0.002917, allocations: 3.212 MB / 327.8 MB, free: 12.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.004283, allocations: 0.9383 MB / 328.7 MB, free: 11.79 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001928/0.004476, allocations: 7.938 kB / 328.7 MB, free: 11.78 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002676/0.004744, allocations: 111.1 kB / 328.8 MB, free: 11.67 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002938/0.005038, allocations: 198.2 kB / 329 MB, free: 11.47 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002239/0.005261, allocations: 123.8 kB / 329.1 MB, free: 11.35 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005501/0.005812, allocations: 0.6688 MB / 329.8 MB, free: 10.68 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001871/0.005999, allocations: 123.5 kB / 329.9 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003234/0.006322, allocations: 367.2 kB / 330.3 MB, free: 10.2 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002015/0.006524, allocations: 199.4 kB / 330.5 MB, free: 10 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.319e-05/0.006577, allocations: 52 kB / 330.5 MB, free: 9.949 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.976e-05/0.006627, allocations: 52 kB / 330.6 MB, free: 9.898 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.51e-05/0.006692, allocations: 131.6 kB / 330.7 MB, free: 9.77 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003733/0.007065, allocations: 203.6 kB / 330.9 MB, free: 9.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000439/0.007504, allocations: 0.6658 MB / 331.6 MB, free: 8.902 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.007507, allocations: 0 / 331.6 MB, free: 8.902 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.00751, allocations: 3.984 kB / 331.6 MB, free: 8.898 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.007516, allocations: 4 kB / 331.6 MB, free: 8.895 MB / 298.7 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.0008508/0.008367, allocations: 0.7672 MB / 332.3 MB, free: 8.086 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.008404, allocations: 8.031 kB / 332.4 MB, free: 8.078 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.835e-05/0.008492, allocations: 87.61 kB / 332.4 MB, free: 7.984 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.237e-05/0.008565, allocations: 68.56 kB / 332.5 MB, free: 7.918 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003927/0.008957, allocations: 336.8 kB / 332.8 MB, free: 7.562 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.255e-05/0.00905, allocations: 106.7 kB / 332.9 MB, free: 7.438 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.928e-05/0.009089, allocations: 40.38 kB / 333 MB, free: 7.398 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005589/0.009648, allocations: 0.84 MB / 333.8 MB, free: 6.414 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.00966, allocations: 192 / 333.8 MB, free: 6.414 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.653e-05/0.009687, allocations: 19.94 kB / 333.8 MB, free: 6.395 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.009694, allocations: 8 kB / 333.8 MB, free: 6.387 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000356/0.01005, allocations: 283.8 kB / 334.1 MB, free: 6.109 MB / 298.7 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.001306/0.01136, allocations: 1.035 MB / 335.2 MB, free: 5.023 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006511/0.01201, allocations: 343.1 kB / 335.5 MB, free: 4.676 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001606/0.01217, allocations: 128.5 kB / 335.6 MB, free: 4.551 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.01219, allocations: 7.938 kB / 335.6 MB, free: 4.543 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.01221, allocations: 42.56 kB / 335.7 MB, free: 4.492 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 1.573e-06/0.01222, allocations: 0 / 335.7 MB, free: 4.492 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.0006884/0.0129, allocations: 459.4 kB / 336.1 MB, free: 4.031 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001373/0.01304, allocations: 444.9 kB / 336.6 MB, free: 3.492 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003409/0.01338, allocations: 461.8 kB / 337 MB, free: 3.031 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.683e-05/0.01341, allocations: 33.7 kB / 337 MB, free: 2.992 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.01353, allocations: 236.6 kB / 337.3 MB, free: 2.754 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.083e-05/0.01359, allocations: 119 kB / 337.4 MB, free: 2.637 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.528e-05/0.01367, allocations: 81.97 kB / 337.5 MB, free: 2.547 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003247/0.014, allocations: 350.8 kB / 337.8 MB, free: 2.195 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001614/0.01416, allocations: 134.3 kB / 337.9 MB, free: 2.059 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003154/0.01447, allocations: 0.6517 MB / 338.6 MB, free: 1.258 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003062/0.01478, allocations: 281.2 kB / 338.9 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.01478, allocations: 0 / 338.9 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004489/0.01523, allocations: 450.3 kB / 339.3 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.781e-05/0.01526, allocations: 29.7 kB / 339.3 MB, free: 480 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.01527, allocations: 3.984 kB / 339.3 MB, free: 476 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001216/0.01539, allocations: 53.69 kB / 339.4 MB, free: 416 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.01555, allocations: 63.91 kB / 339.5 MB, free: 352 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001501/0.01705, allocations: 2.762 MB / 342.2 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001841/0.01724, allocations: 43.8 kB / 342.3 MB, free: 13.31 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.01725, allocations: 12 kB / 342.3 MB, free: 13.3 MB / 314.7 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 (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001338/0.01739, allocations: 166.8 kB / 342.4 MB, free: 13.13 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.937e-05/0.01744, allocations: 55.77 kB / 342.5 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.701e-05/0.01749, allocations: 52.69 kB / 342.5 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.0175, allocations: 4 kB / 342.5 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.0175, allocations: 3.938 kB / 342.5 MB, free: 13.01 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004031/0.0179, allocations: 0.6492 MB / 343.2 MB, free: 12.26 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007764/0.01868, allocations: 0.7859 MB / 344 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.01868, allocations: 0 / 344 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001732/0.01886, allocations: 79.83 kB / 344.1 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.01886, allocations: 4 kB / 344.1 MB, free: 11.33 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.01887, allocations: 4 kB / 344.1 MB, free: 11.33 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.01887, allocations: 4 kB / 344.1 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01888, allocations: 0 / 344.1 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007504/0.01963, allocations: 0.5176 MB / 344.6 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.01974, allocations: 91.5 kB / 344.7 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.294e-05/0.01978, allocations: 11.94 kB / 344.7 MB, free: 10.69 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.01993, allocations: 20.05 kB / 344.7 MB, free: 10.67 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.544e-05/0.01996, allocations: 23.91 kB / 344.7 MB, free: 10.65 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.01997, allocations: 8 kB / 344.7 MB, free: 10.64 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002279/0.0202, allocations: 327.1 kB / 345.1 MB, free: 10.33 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0202, allocations: 0 / 345.1 MB, free: 10.33 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002868/0.02049, allocations: 131.9 kB / 345.2 MB, free: 10.2 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006962/0.02118, allocations: 1.068 MB / 346.3 MB, free: 9.102 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005637/0.02175, allocations: 0.5765 MB / 346.8 MB, free: 8.48 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.02175, allocations: 4 kB / 346.8 MB, free: 8.477 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.02188, allocations: 115.8 kB / 346.9 MB, free: 8.363 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004306/0.02232, allocations: 133.9 kB / 347.1 MB, free: 8.234 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003842/0.02616, allocations: 4.341 MB / 351.4 MB, free: 3.758 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/0.02629, allocations: 220.3 kB / 351.6 MB, free: 3.516 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001608/0.02645, allocations: 60.36 kB / 351.7 MB, free: 3.453 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004013/0.02685, allocations: 168.4 kB / 351.9 MB, free: 3.289 MB / 314.7 MB Notification: Performance of SimCode: time 8.21e-07/0.02686, allocations: 0 / 351.9 MB, free: 3.289 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02555/0.05241, allocations: 14.47 MB / 366.3 MB, free: 5.133 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.665/7.717, allocations: 3.281 kB / 366.3 MB, free: 5.133 MB / 330.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling.fmu > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 9.285443392582238]