Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.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.001287/0.001287, allocations: 108.8 kB / 19.16 MB, free: 3.871 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.001329/0.001329, allocations: 205.6 kB / 22.12 MB, free: 0.9297 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.396/1.396, allocations: 207.6 MB / 232.5 MB, free: 3.746 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.TestOpenTank,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",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.001691/0.001691, allocations: 52.3 kB / 343 MB, free: 10 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09305/0.09474, allocations: 49.13 MB / 392.1 MB, free: 8.703 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004328/0.09907, allocations: 2.863 MB / 395 MB, free: 5.828 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001988/0.1011, allocations: 1.193 MB / 396.2 MB, free: 4.625 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001675/0.1012, allocations: 7.938 kB / 396.2 MB, free: 4.617 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004881/0.1017, allocations: 179.1 kB / 396.3 MB, free: 4.441 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004464/0.1022, allocations: 206.8 kB / 396.5 MB, free: 4.238 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003862/0.1025, allocations: 159.6 kB / 396.7 MB, free: 4.082 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005356/0.1031, allocations: 453.9 kB / 397.1 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.1032, allocations: 67.5 kB / 397.2 MB, free: 3.57 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002287/0.1035, allocations: 191.3 kB / 397.4 MB, free: 3.383 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002709/0.1037, allocations: 215.2 kB / 397.6 MB, free: 3.172 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.931e-05/0.1038, allocations: 28 kB / 397.6 MB, free: 3.145 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.1039, allocations: 71.92 kB / 397.7 MB, free: 3.074 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.104, allocations: 91.67 kB / 397.8 MB, free: 2.984 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001975/0.1042, allocations: 195 kB / 398 MB, free: 2.793 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005639/0.1048, allocations: 485.9 kB / 398.5 MB, free: 2.316 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1048, allocations: 0 / 398.5 MB, free: 2.316 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1048, allocations: 4 kB / 398.5 MB, free: 2.312 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.1048, allocations: 0 / 398.5 MB, free: 2.312 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001064/0.1059, allocations: 0.7043 MB / 399.2 MB, free: 1.559 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.1059, allocations: 12.03 kB / 399.2 MB, free: 1.547 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.011e-05/0.106, allocations: 16.56 kB / 399.2 MB, free: 1.531 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.164e-05/0.106, allocations: 55.17 kB / 399.2 MB, free: 1.469 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.698e-05/0.1061, allocations: 48.66 kB / 399.3 MB, free: 1.422 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005556/0.1067, allocations: 354.9 kB / 399.6 MB, free: 1.035 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.05e-05/0.1067, allocations: 28.5 kB / 399.7 MB, free: 1.008 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.272e-05/0.1068, allocations: 23.98 kB / 399.7 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005705/0.1074, allocations: 305.5 kB / 400 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.1074, allocations: 4 kB / 400 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.535e-05/0.1074, allocations: 12 kB / 400 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.1074, allocations: 7.984 kB / 400 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000337/0.1078, allocations: 157.7 kB / 400.2 MB, free: 476 kB / 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.001572/0.1093, allocations: 0.887 MB / 401.1 MB, free: 15.51 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004479/0.1098, allocations: 201 kB / 401.3 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/0.1099, allocations: 93.23 kB / 401.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.11, allocations: 4.234 kB / 401.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002949/0.1103, allocations: 143.6 kB / 401.5 MB, free: 15.05 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 2.625e-06/0.1103, allocations: 0 / 401.5 MB, free: 15.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.002199/0.1125, allocations: 1.051 MB / 402.5 MB, free: 13.93 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001966/0.1127, allocations: 320.4 kB / 402.9 MB, free: 13.55 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004861/0.1132, allocations: 429.6 kB / 403.3 MB, free: 13.12 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.499e-05/0.1132, allocations: 33.7 kB / 403.3 MB, free: 13.08 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000173/0.1134, allocations: 204.9 kB / 403.5 MB, free: 12.88 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.1135, allocations: 119 kB / 403.6 MB, free: 12.76 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.1136, allocations: 73.64 kB / 403.7 MB, free: 12.68 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.1138, allocations: 354.8 kB / 404 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.1139, allocations: 83.97 kB / 404.1 MB, free: 12.24 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00031/0.1142, allocations: 211.7 kB / 404.3 MB, free: 11.99 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003886/0.1146, allocations: 220 kB / 404.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1146, allocations: 0 / 404.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005809/0.1152, allocations: 337.4 kB / 404.9 MB, free: 11.43 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.1152, allocations: 23.95 kB / 404.9 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1152, allocations: 0 / 404.9 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001226/0.1154, allocations: 28.84 kB / 404.9 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003116/0.1157, allocations: 75.91 kB / 405 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001669/0.1174, allocations: 1.567 MB / 406.6 MB, free: 9.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002137/0.1176, allocations: 16 kB / 406.6 MB, free: 9.574 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.1176, allocations: 11.94 kB / 406.6 MB, free: 9.562 MB / 334.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 (38): * Single equations (assignments): 37 * 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.0002231/0.1178, allocations: 185.7 kB / 406.8 MB, free: 9.371 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.06e-05/0.1179, allocations: 43.72 kB / 406.8 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.779e-05/0.118, allocations: 52.36 kB / 406.9 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.118, allocations: 4 kB / 406.9 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.118, allocations: 0 / 406.9 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00069/0.1187, allocations: 0.6297 MB / 407.5 MB, free: 8.535 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001221/0.1199, allocations: 0.8423 MB / 408.3 MB, free: 7.629 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.1199, allocations: 7.969 kB / 408.4 MB, free: 7.621 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003066/0.1202, allocations: 75.89 kB / 408.4 MB, free: 7.547 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1202, allocations: 0 / 408.4 MB, free: 7.547 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.355e-05/0.1202, allocations: 8 kB / 408.4 MB, free: 7.539 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.1202, allocations: 0 / 408.4 MB, free: 7.539 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1202, allocations: 0 / 408.4 MB, free: 7.539 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007674/0.121, allocations: 0.4977 MB / 408.9 MB, free: 7.023 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001759/0.1212, allocations: 144.8 kB / 409.1 MB, free: 6.863 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.037e-05/0.1212, allocations: 8 kB / 409.1 MB, free: 6.855 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002282/0.1215, allocations: 19.98 kB / 409.1 MB, free: 6.836 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.283e-05/0.1215, allocations: 20 kB / 409.1 MB, free: 6.816 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-05/0.1215, allocations: 15.94 kB / 409.1 MB, free: 6.801 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00037/0.1219, allocations: 315.1 kB / 409.4 MB, free: 6.496 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1219, allocations: 0 / 409.4 MB, free: 6.496 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004254/0.1223, allocations: 96 kB / 409.5 MB, free: 6.402 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 ($outputAlias_level,$outputAlias_T) * 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 (34): * Single equations (assignments): 32 * 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.002757/0.1251, allocations: 1.409 MB / 410.9 MB, free: 4.957 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007562/0.1259, allocations: 359 kB / 411.3 MB, free: 4.594 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1259, allocations: 0 / 411.3 MB, free: 4.594 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002179/0.1261, allocations: 115.8 kB / 411.4 MB, free: 4.48 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006114/0.1267, allocations: 117.6 kB / 411.5 MB, free: 4.363 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005093/0.1318, allocations: 3.599 MB / 415.1 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004994/0.1323, allocations: 0.8087 MB / 415.9 MB, free: 15.81 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002023/0.1325, allocations: 55.23 kB / 416 MB, free: 15.76 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002161/0.1327, allocations: 131.4 kB / 416.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of SimCode: time 8.12e-07/0.1327, allocations: 0 / 416.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03817/0.1709, allocations: 11.01 MB / 427.1 MB, free: 4.527 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.14, allocations: 8.062 kB / 427.1 MB, free: 4.52 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank_fmu --startTime=0 --stopTime=1.5 --stepSize=0.000299581 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable openTank.H in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat. Warning: Get data of variable openTank.H from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.71165645000292]