Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001453/0.001453, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001649/0.001649, allocations: 212.2 kB / 24.53 MB, free: 4.07 MB / 14.72 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 1.349/1.349, allocations: 230.6 MB / 258.3 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] 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.TestOpenTank,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 47.92 kB / 378.5 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2147, allocations: 53.37 MB / 431.9 MB, free: 6.836 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004129/0.2188, allocations: 2.902 MB / 434.8 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002167/0.221, allocations: 1.422 MB / 436.2 MB, free: 2.492 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001424/0.2211, allocations: 11.94 kB / 436.2 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004437/0.2216, allocations: 179.1 kB / 436.4 MB, free: 2.305 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004889/0.2221, allocations: 254.6 kB / 436.7 MB, free: 2.055 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003006/0.2224, allocations: 143.5 kB / 436.8 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005442/0.2229, allocations: 469.8 kB / 437.3 MB, free: 1.453 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/0.2231, allocations: 64.33 kB / 437.3 MB, free: 1.391 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002332/0.2233, allocations: 187.3 kB / 437.5 MB, free: 1.207 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002884/0.2236, allocations: 227 kB / 437.7 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.54e-05/0.2236, allocations: 28 kB / 437.8 MB, free: 0.957 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001388/0.2238, allocations: 71.98 kB / 437.8 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.594e-05/0.2239, allocations: 87.67 kB / 437.9 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001834/0.224, allocations: 199 kB / 438.1 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005358/0.2246, allocations: 490.6 kB / 438.6 MB, free: 132 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.2246, allocations: 0 / 438.6 MB, free: 132 kB / 334.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.2246, allocations: 0 / 438.6 MB, free: 132 kB / 334.1 MB Notification: Performance of Transformations before backend: time 9.458e-06/0.2246, allocations: 3.938 kB / 438.6 MB, free: 128 kB / 334.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.0009971/0.2256, allocations: 0.6485 MB / 439.2 MB, free: 15.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.2256, allocations: 8.031 kB / 439.2 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.131e-05/0.2257, allocations: 12.62 kB / 439.3 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.267e-05/0.2257, allocations: 63.16 kB / 439.3 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.341e-05/0.2258, allocations: 52.61 kB / 439.4 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004575/0.2263, allocations: 293 kB / 439.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/0.2263, allocations: 20.56 kB / 439.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.171e-05/0.2264, allocations: 24 kB / 439.7 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004876/0.2268, allocations: 305.5 kB / 440 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.2269, allocations: 0 / 440 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.833e-05/0.2269, allocations: 12 kB / 440 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.2269, allocations: 8 kB / 440 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003022/0.2272, allocations: 161.7 kB / 440.2 MB, free: 14.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.001419/0.2286, allocations: 0.8394 MB / 441 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004414/0.229, allocations: 210.5 kB / 441.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/0.2292, allocations: 93.28 kB / 441.3 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.743e-05/0.2293, allocations: 4.234 kB / 441.3 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000298/0.2296, allocations: 148.3 kB / 441.5 MB, free: 13.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.693e-06/0.2296, allocations: 0 / 441.5 MB, free: 13.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.002155/0.2317, allocations: 0.8979 MB / 442.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002025/0.2319, allocations: 320.4 kB / 442.7 MB, free: 11.74 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005138/0.2324, allocations: 449.6 kB / 443.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.747e-05/0.2325, allocations: 33.7 kB / 443.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/0.2326, allocations: 204.8 kB / 443.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.2327, allocations: 123 kB / 443.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.2329, allocations: 69.69 kB / 443.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.233, allocations: 350.8 kB / 443.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.2332, allocations: 95.67 kB / 444 MB, free: 10.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002942/0.2335, allocations: 198.3 kB / 444.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003841/0.2339, allocations: 224.4 kB / 444.4 MB, free: 9.945 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.2339, allocations: 0 / 444.4 MB, free: 9.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005593/0.2344, allocations: 333.6 kB / 444.7 MB, free: 9.609 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.2345, allocations: 11.94 kB / 444.7 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.2345, allocations: 0 / 444.7 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001154/0.2346, allocations: 36.88 kB / 444.8 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003006/0.2349, allocations: 83.83 kB / 444.8 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001652/0.2365, allocations: 1.471 MB / 446.3 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002186/0.2368, allocations: 12 kB / 446.3 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.629e-05/0.2368, allocations: 15.97 kB / 446.3 MB, free: 7.855 MB / 350.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.0002066/0.237, allocations: 169.8 kB / 446.5 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.806e-05/0.2371, allocations: 51.7 kB / 446.6 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005916/0.2377, allocations: 322.8 kB / 446.9 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.2377, allocations: 4 kB / 446.9 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.2377, allocations: 4 kB / 446.9 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006329/0.2383, allocations: 0.6496 MB / 447.5 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001209/0.2395, allocations: 0.8065 MB / 448.3 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.2395, allocations: 0 / 448.3 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002923/0.2398, allocations: 71.95 kB / 448.4 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.2398, allocations: 0 / 448.4 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.354e-05/0.2398, allocations: 16.03 kB / 448.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.2398, allocations: 3.938 kB / 448.4 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.2398, allocations: 4 kB / 448.4 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007208/0.2406, allocations: 0.4893 MB / 448.9 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001423/0.2407, allocations: 67.7 kB / 449 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.751e-05/0.2408, allocations: 15.94 kB / 449 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002175/0.241, allocations: 20.03 kB / 449 MB, free: 4.977 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.434e-05/0.241, allocations: 23.89 kB / 449 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.959e-05/0.2411, allocations: 12 kB / 449.1 MB, free: 4.941 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003498/0.2414, allocations: 319.1 kB / 449.4 MB, free: 4.633 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2414, allocations: 0 / 449.4 MB, free: 4.633 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003993/0.2418, allocations: 103.9 kB / 449.5 MB, free: 4.531 MB / 350.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.002565/0.2444, allocations: 1.423 MB / 450.9 MB, free: 3.273 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007061/0.2451, allocations: 358.5 kB / 451.2 MB, free: 2.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.2451, allocations: 4 kB / 451.2 MB, free: 2.906 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001964/0.2453, allocations: 103.9 kB / 451.3 MB, free: 2.805 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006228/0.2459, allocations: 117.2 kB / 451.5 MB, free: 2.695 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00484/0.2507, allocations: 3.657 MB / 455.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004203/0.2512, allocations: 0.8125 MB / 455.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001843/0.2513, allocations: 51.25 kB / 456 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001907/0.2515, allocations: 135.4 kB / 456.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2515, allocations: 8 kB / 456.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0382/0.2897, allocations: 11.29 MB / 467.4 MB, free: 2.781 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.48/12.77, allocations: 8.062 kB / 467.4 MB, free: 2.773 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank_fmu --startTime=0 --stopTime=1.5 --stepSize=0.000299581 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank.fmu > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat. Warning: Get data of variable openTank.H from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.274867583008017]