Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.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.001639/0.001639, allocations: 124.7 kB / 17.79 MB, free: 5.246 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.001761/0.001761, allocations: 186.9 kB / 20.73 MB, free: 2.316 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.329/1.329, allocations: 225.6 MB / 249.1 MB, free: 3.629 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.TestOpenTank,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 47.92 kB / 365.6 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0891/0.0905, allocations: 52.15 MB / 417.8 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004152/0.09465, allocations: 2.867 MB / 420.6 MB, free: 9.844 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001948/0.0966, allocations: 1.274 MB / 421.9 MB, free: 8.562 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001302/0.09673, allocations: 4 kB / 421.9 MB, free: 8.559 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004724/0.0972, allocations: 179.1 kB / 422.1 MB, free: 8.383 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004193/0.09762, allocations: 206.8 kB / 422.3 MB, free: 8.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003811/0.098, allocations: 179.5 kB / 422.5 MB, free: 8.004 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004979/0.0985, allocations: 450 kB / 422.9 MB, free: 7.562 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.09866, allocations: 67.52 kB / 423 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002076/0.09887, allocations: 187.3 kB / 423.2 MB, free: 7.309 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002546/0.09912, allocations: 211.1 kB / 423.4 MB, free: 7.102 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.039e-05/0.09917, allocations: 28 kB / 423.4 MB, free: 7.074 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001338/0.0993, allocations: 63.98 kB / 423.5 MB, free: 7.012 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.09941, allocations: 91.67 kB / 423.5 MB, free: 6.922 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001968/0.09961, allocations: 198.9 kB / 423.7 MB, free: 6.727 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005287/0.1001, allocations: 490 kB / 424.2 MB, free: 6.246 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1001, allocations: 4 kB / 424.2 MB, free: 6.242 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1001, allocations: 0 / 424.2 MB, free: 6.242 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.1001, allocations: 0 / 424.2 MB, free: 6.242 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.00102/0.1012, allocations: 0.7042 MB / 424.9 MB, free: 5.488 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.1012, allocations: 12.03 kB / 424.9 MB, free: 5.477 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.467e-05/0.1013, allocations: 59.16 kB / 425 MB, free: 5.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.607e-05/0.1014, allocations: 52.66 kB / 425 MB, free: 5.359 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004807/0.1019, allocations: 358.8 kB / 425.4 MB, free: 4.973 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.1019, allocations: 12.81 kB / 425.4 MB, free: 4.957 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.773e-05/0.1019, allocations: 23.94 kB / 425.4 MB, free: 4.934 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004682/0.1024, allocations: 301.5 kB / 425.7 MB, free: 4.598 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.1024, allocations: 0 / 425.7 MB, free: 4.598 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.502e-05/0.1024, allocations: 12 kB / 425.7 MB, free: 4.586 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.1024, allocations: 8 kB / 425.7 MB, free: 4.578 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002927/0.1027, allocations: 153.7 kB / 425.9 MB, free: 4.43 MB / 350.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.001327/0.1041, allocations: 0.8362 MB / 426.7 MB, free: 3.523 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003816/0.1044, allocations: 171.1 kB / 426.9 MB, free: 3.348 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001393/0.1046, allocations: 72.83 kB / 427 MB, free: 3.273 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.1046, allocations: 7.938 kB / 427 MB, free: 3.266 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002571/0.1049, allocations: 135.2 kB / 427.1 MB, free: 3.121 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.513e-06/0.1049, allocations: 0 / 427.1 MB, free: 3.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008298/0.1057, allocations: 412.1 kB / 427.5 MB, free: 2.691 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001731/0.1059, allocations: 312.4 kB / 427.8 MB, free: 2.312 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004762/0.1063, allocations: 433.7 kB / 428.2 MB, free: 1.875 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.25e-05/0.1064, allocations: 37.64 kB / 428.3 MB, free: 1.832 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.1065, allocations: 204.4 kB / 428.5 MB, free: 1.629 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.234e-05/0.1066, allocations: 83.28 kB / 428.6 MB, free: 1.547 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.1067, allocations: 61.69 kB / 428.6 MB, free: 1.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.1069, allocations: 346.8 kB / 429 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.107, allocations: 63.98 kB / 429 MB, free: 1.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002395/0.1072, allocations: 176 kB / 429.2 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002969/0.1075, allocations: 179.9 kB / 429.4 MB, free: 0.668 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.1075, allocations: 0 / 429.4 MB, free: 0.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004549/0.108, allocations: 266.1 kB / 429.6 MB, free: 408 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.108, allocations: 11.98 kB / 429.6 MB, free: 396 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.108, allocations: 96 / 429.6 MB, free: 396 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001207/0.1081, allocations: 40.83 kB / 429.7 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002073/0.1083, allocations: 55.91 kB / 429.7 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001541/0.1099, allocations: 1.57 MB / 431.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.1101, allocations: 23.83 kB / 431.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.1101, allocations: 8 kB / 431.3 MB, free: 14.54 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001893/0.1103, allocations: 168.2 kB / 431.5 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.544e-05/0.1104, allocations: 51.66 kB / 431.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.752e-05/0.1104, allocations: 47.58 kB / 431.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1104, allocations: 4 kB / 431.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.1104, allocations: 0 / 431.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000543/0.111, allocations: 0.5781 MB / 432.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009196/0.1119, allocations: 0.7002 MB / 432.9 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.1119, allocations: 7.984 kB / 432.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001953/0.1121, allocations: 39.98 kB / 432.9 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.1121, allocations: 0 / 432.9 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.1121, allocations: 12 kB / 432.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.1121, allocations: 3.984 kB / 432.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1121, allocations: 0 / 432.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005694/0.1127, allocations: 410.2 kB / 433.3 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000148/0.1128, allocations: 132.8 kB / 433.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.815e-05/0.1129, allocations: 19.91 kB / 433.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/0.1131, allocations: 12 kB / 433.5 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.243e-05/0.1131, allocations: 16.05 kB / 433.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-05/0.1132, allocations: 11.98 kB / 433.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003202/0.1135, allocations: 311.2 kB / 433.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1135, allocations: 3.938 kB / 433.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003624/0.1138, allocations: 95.89 kB / 433.9 MB, free: 11.75 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (openTank.m,openTank.H) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0022/0.116, allocations: 1.255 MB / 435.2 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005531/0.1166, allocations: 306.7 kB / 435.5 MB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1166, allocations: 0 / 435.5 MB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001546/0.1168, allocations: 79.16 kB / 435.6 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005155/0.1173, allocations: 99.52 kB / 435.7 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004281/0.1215, allocations: 3.368 MB / 439 MB, free: 6.684 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004182/0.122, allocations: 0.7999 MB / 439.8 MB, free: 5.855 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001602/0.1221, allocations: 42.95 kB / 439.9 MB, free: 5.812 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001676/0.1223, allocations: 127.4 kB / 440 MB, free: 5.688 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1223, allocations: 0 / 440 MB, free: 5.688 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1974/0.3197, allocations: 10.25 MB / 450.2 MB, free: 30.15 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.16, allocations: 8.781 kB / 450.2 MB, free: 30.15 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank_fmu --startTime=0 --stopTime=1.5 --stepSize=0.000299581 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.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.524564991239458]