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.001201/0.001201, allocations: 116.6 kB / 18.49 MB, free: 4.566 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.00119/0.00119, allocations: 189 kB / 21.43 MB, free: 1.641 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.331/1.331, allocations: 225.6 MB / 249.8 MB, free: 3.625 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 47.92 kB / 366.3 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09402/0.09549, allocations: 52.14 MB / 418.5 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004357/0.09985, allocations: 2.87 MB / 421.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001994/0.1018, allocations: 1.274 MB / 422.6 MB, free: 8.574 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001333/0.102, allocations: 7.938 kB / 422.6 MB, free: 8.566 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004653/0.1024, allocations: 179.1 kB / 422.8 MB, free: 8.391 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004199/0.1029, allocations: 206.8 kB / 423 MB, free: 8.188 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003856/0.1032, allocations: 167.5 kB / 423.2 MB, free: 8.023 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005648/0.1038, allocations: 453.9 kB / 423.6 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001648/0.104, allocations: 67.52 kB / 423.7 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002181/0.1042, allocations: 191.3 kB / 423.9 MB, free: 7.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002628/0.1045, allocations: 219.1 kB / 424.1 MB, free: 7.105 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.903e-05/0.1045, allocations: 28 kB / 424.1 MB, free: 7.078 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.1046, allocations: 67.98 kB / 424.2 MB, free: 7.012 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001378/0.1048, allocations: 91.67 kB / 424.2 MB, free: 6.922 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002674/0.105, allocations: 198.9 kB / 424.4 MB, free: 6.727 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005901/0.1056, allocations: 490 kB / 424.9 MB, free: 6.246 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1056, allocations: 0 / 424.9 MB, free: 6.246 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1056, allocations: 0 / 424.9 MB, free: 6.246 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.1056, allocations: 0 / 424.9 MB, free: 6.246 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.001109/0.1068, allocations: 0.7042 MB / 425.6 MB, free: 5.492 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.1068, allocations: 16.03 kB / 425.6 MB, free: 5.477 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.624e-05/0.1068, allocations: 12.56 kB / 425.7 MB, free: 5.465 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.95e-05/0.1069, allocations: 63.16 kB / 425.7 MB, free: 5.395 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.799e-05/0.107, allocations: 52.61 kB / 425.8 MB, free: 5.344 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000466/0.1075, allocations: 350.9 kB / 426.1 MB, free: 4.961 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.1075, allocations: 16.56 kB / 426.1 MB, free: 4.945 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.126e-05/0.1075, allocations: 24 kB / 426.1 MB, free: 4.922 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000495/0.108, allocations: 309.5 kB / 426.5 MB, free: 4.578 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.108, allocations: 3.938 kB / 426.5 MB, free: 4.574 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.98e-05/0.1081, allocations: 16 kB / 426.5 MB, free: 4.559 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.1081, allocations: 4 kB / 426.5 MB, free: 4.555 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003043/0.1084, allocations: 161.6 kB / 426.6 MB, free: 4.398 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.0015/0.1099, allocations: 0.8831 MB / 427.5 MB, free: 3.441 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004533/0.1103, allocations: 204.7 kB / 427.7 MB, free: 3.234 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/0.1105, allocations: 93.28 kB / 427.8 MB, free: 3.141 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.252e-05/0.1105, allocations: 8.219 kB / 427.8 MB, free: 3.133 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002891/0.1108, allocations: 159.5 kB / 428 MB, free: 2.965 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.683e-06/0.1108, allocations: 4 kB / 428 MB, free: 2.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.002196/0.113, allocations: 1.029 MB / 429 MB, free: 1.859 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002733/0.1133, allocations: 324.4 kB / 429.3 MB, free: 1.469 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005348/0.1138, allocations: 429.7 kB / 429.7 MB, free: 1.035 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.999e-05/0.1139, allocations: 33.7 kB / 429.8 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.1141, allocations: 204.8 kB / 430 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.1142, allocations: 126.9 kB / 430.1 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.1143, allocations: 61.7 kB / 430.2 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000233/0.1145, allocations: 354.8 kB / 430.5 MB, free: 248 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/0.1147, allocations: 83.95 kB / 430.6 MB, free: 164 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002951/0.115, allocations: 199.8 kB / 430.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003886/0.1154, allocations: 227.5 kB / 431 MB, free: 15.69 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.1154, allocations: 4 kB / 431 MB, free: 15.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005894/0.1159, allocations: 341.6 kB / 431.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.116, allocations: 7.938 kB / 431.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.116, allocations: 0 / 431.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001263/0.1161, allocations: 36.83 kB / 431.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003025/0.1164, allocations: 79.98 kB / 431.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001839/0.1182, allocations: 1.563 MB / 433 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002045/0.1184, allocations: 16.03 kB / 433 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.316e-05/0.1185, allocations: 15.94 kB / 433.1 MB, free: 13.48 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 (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.0001986/0.1187, allocations: 172.5 kB / 433.2 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.43e-05/0.1187, allocations: 47.72 kB / 433.3 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.147e-05/0.1188, allocations: 48.38 kB / 433.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.1188, allocations: 8 kB / 433.3 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.1188, allocations: 0 / 433.3 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006548/0.1195, allocations: 0.6298 MB / 434 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/0.1207, allocations: 0.8422 MB / 434.8 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.1207, allocations: 3.938 kB / 434.8 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002969/0.121, allocations: 75.89 kB / 434.9 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.121, allocations: 8.031 kB / 434.9 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/0.1211, allocations: 8 kB / 434.9 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1211, allocations: 4 kB / 434.9 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1211, allocations: 0 / 434.9 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007748/0.1218, allocations: 0.4939 MB / 435.4 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001578/0.122, allocations: 152.7 kB / 435.5 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.138e-05/0.1221, allocations: 15.98 kB / 435.6 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/0.1223, allocations: 12.06 kB / 435.6 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.978e-05/0.1223, allocations: 19.97 kB / 435.6 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.632e-05/0.1223, allocations: 12 kB / 435.6 MB, free: 10.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003347/0.1227, allocations: 311.1 kB / 435.9 MB, free: 10.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1227, allocations: 0 / 435.9 MB, free: 10.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003864/0.1231, allocations: 99.94 kB / 436 MB, free: 10.33 MB / 366.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.002693/0.1258, allocations: 1.418 MB / 437.4 MB, free: 9.066 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006788/0.1264, allocations: 370.8 kB / 437.8 MB, free: 8.691 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1264, allocations: 0 / 437.8 MB, free: 8.691 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002056/0.1266, allocations: 107.8 kB / 437.9 MB, free: 8.586 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005524/0.1272, allocations: 112.9 kB / 438 MB, free: 8.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004862/0.1321, allocations: 3.606 MB / 441.6 MB, free: 4.758 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004515/0.1325, allocations: 0.8047 MB / 442.4 MB, free: 3.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001612/0.1327, allocations: 55.23 kB / 442.5 MB, free: 3.879 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001879/0.1329, allocations: 135.4 kB / 442.6 MB, free: 3.746 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1329, allocations: 4 kB / 442.6 MB, free: 3.742 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2014/0.3343, allocations: 10.99 MB / 453.6 MB, free: 29.4 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.01, allocations: 6.656 kB / 453.6 MB, free: 29.4 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat. Warning: Get data of variable openTank.H from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.469833599985577]