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.001496/0.001496, allocations: 108.6 kB / 21.22 MB, free: 0.75 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.001532/0.001532, allocations: 191.7 kB / 24.5 MB, free: 4.02 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.334/1.334, allocations: 225.7 MB / 253.3 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 179] 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.001506/0.001506, allocations: 43.94 kB / 371.2 MB, free: 9.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2197, allocations: 52.18 MB / 423.4 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004137/0.2239, allocations: 2.892 MB / 426.3 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001972/0.2258, allocations: 1.282 MB / 427.6 MB, free: 10.42 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001402/0.226, allocations: 7.938 kB / 427.6 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004478/0.2264, allocations: 179.1 kB / 427.8 MB, free: 10.24 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004197/0.2269, allocations: 210.8 kB / 428 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003888/0.2272, allocations: 178.3 kB / 428.1 MB, free: 9.859 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005328/0.2278, allocations: 449.9 kB / 428.6 MB, free: 9.418 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.2279, allocations: 72.02 kB / 428.6 MB, free: 9.348 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002379/0.2282, allocations: 191.3 kB / 428.8 MB, free: 9.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002764/0.2285, allocations: 207.2 kB / 429 MB, free: 8.957 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.911e-05/0.2285, allocations: 35.92 kB / 429.1 MB, free: 8.922 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001388/0.2286, allocations: 71.98 kB / 429.1 MB, free: 8.852 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.2287, allocations: 87.67 kB / 429.2 MB, free: 8.766 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001879/0.2289, allocations: 191 kB / 429.4 MB, free: 8.578 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005593/0.2295, allocations: 498.7 kB / 429.9 MB, free: 8.094 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2295, allocations: 0 / 429.9 MB, free: 8.094 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2295, allocations: 0 / 429.9 MB, free: 8.094 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.2295, allocations: 0 / 429.9 MB, free: 8.094 MB / 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.001001/0.2305, allocations: 0.6368 MB / 430.5 MB, free: 7.426 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.2305, allocations: 8.031 kB / 430.5 MB, free: 7.418 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.238e-05/0.2306, allocations: 8.625 kB / 430.6 MB, free: 7.41 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.546e-05/0.2307, allocations: 67.16 kB / 430.6 MB, free: 7.336 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.616e-05/0.2308, allocations: 52.61 kB / 430.7 MB, free: 7.285 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004612/0.2312, allocations: 289 kB / 431 MB, free: 6.973 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.2312, allocations: 20.56 kB / 431 MB, free: 6.953 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.134e-05/0.2313, allocations: 28 kB / 431 MB, free: 6.926 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004887/0.2318, allocations: 305.4 kB / 431.3 MB, free: 6.586 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.2318, allocations: 4 kB / 431.3 MB, free: 6.582 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.053e-05/0.2318, allocations: 12 kB / 431.3 MB, free: 6.57 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.2318, allocations: 4 kB / 431.3 MB, free: 6.566 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003065/0.2321, allocations: 161.6 kB / 431.5 MB, free: 6.41 MB / 334.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.00138/0.2335, allocations: 0.8433 MB / 432.3 MB, free: 5.5 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004241/0.2339, allocations: 204 kB / 432.5 MB, free: 5.293 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001692/0.2341, allocations: 90.5 kB / 432.6 MB, free: 5.203 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.2341, allocations: 4.234 kB / 432.6 MB, free: 5.199 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002723/0.2344, allocations: 147.6 kB / 432.8 MB, free: 5.043 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.583e-06/0.2344, allocations: 4 kB / 432.8 MB, free: 5.039 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.002018/0.2364, allocations: 0.8842 MB / 433.6 MB, free: 4.121 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001836/0.2366, allocations: 320.4 kB / 434 MB, free: 3.734 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004696/0.2371, allocations: 429.7 kB / 434.4 MB, free: 3.305 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.422e-05/0.2371, allocations: 33.7 kB / 434.4 MB, free: 3.266 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001603/0.2373, allocations: 208.7 kB / 434.6 MB, free: 3.059 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.523e-05/0.2374, allocations: 119 kB / 434.7 MB, free: 2.941 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.2375, allocations: 69.66 kB / 434.8 MB, free: 2.867 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.2376, allocations: 358.8 kB / 435.1 MB, free: 2.508 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/0.2378, allocations: 79.97 kB / 435.2 MB, free: 2.43 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002758/0.2381, allocations: 199.9 kB / 435.4 MB, free: 2.191 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003795/0.2385, allocations: 232.1 kB / 435.6 MB, free: 1.953 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2385, allocations: 0 / 435.6 MB, free: 1.953 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005795/0.239, allocations: 333.9 kB / 436 MB, free: 1.617 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.2391, allocations: 11.94 kB / 436 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.2391, allocations: 0 / 436 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001124/0.2392, allocations: 36.88 kB / 436 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002946/0.2395, allocations: 79.89 kB / 436.1 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001547/0.241, allocations: 1.475 MB / 437.6 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002176/0.2412, allocations: 12.03 kB / 437.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.608e-05/0.2413, allocations: 19.88 kB / 437.6 MB, free: 15.86 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.000201/0.2415, allocations: 169.8 kB / 437.8 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.514e-05/0.2415, allocations: 43.72 kB / 437.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006109/0.2422, allocations: 334.8 kB / 438.1 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.2422, allocations: 7.984 kB / 438.1 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.2422, allocations: 0 / 438.1 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006453/0.2428, allocations: 0.6457 MB / 438.8 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/0.244, allocations: 0.7988 MB / 439.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.244, allocations: 0 / 439.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002932/0.2443, allocations: 79.92 kB / 439.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.2443, allocations: 4 kB / 439.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/0.2443, allocations: 4 kB / 439.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.2443, allocations: 4 kB / 439.7 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2443, allocations: 0 / 439.7 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007368/0.2451, allocations: 0.4967 MB / 440.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.2452, allocations: 63.81 kB / 440.2 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.128e-05/0.2453, allocations: 12 kB / 440.3 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002235/0.2455, allocations: 19.98 kB / 440.3 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.758e-05/0.2455, allocations: 19.91 kB / 440.3 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.804e-05/0.2456, allocations: 15.98 kB / 440.3 MB, free: 12.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000341/0.2459, allocations: 311.1 kB / 440.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2459, allocations: 0 / 440.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003969/0.2463, allocations: 99.94 kB / 440.7 MB, free: 12.56 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.002585/0.2489, allocations: 1.425 MB / 442.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007117/0.2496, allocations: 358.2 kB / 442.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2496, allocations: 4 kB / 442.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002021/0.2498, allocations: 107.8 kB / 442.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006383/0.2504, allocations: 109.6 kB / 442.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005068/0.2555, allocations: 3.613 MB / 446.3 MB, free: 6.984 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004638/0.256, allocations: 0.8047 MB / 447.1 MB, free: 6.156 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000205/0.2562, allocations: 51.25 kB / 447.2 MB, free: 6.109 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001996/0.2564, allocations: 139.4 kB / 447.3 MB, free: 5.973 MB / 350.1 MB Notification: Performance of SimCode: time 1.153e-06/0.2564, allocations: 0 / 447.3 MB, free: 5.973 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03655/0.2929, allocations: 11.23 MB / 458.5 MB, free: 10.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/12.62, allocations: 21.62 kB / 458.6 MB, free: 10.89 MB / 366.1 MB " [Timeout remaining time 647] (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: 15.1245828300016]