Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.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.001189/0.001189, allocations: 100.7 kB / 21.95 MB, free: 5.219 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.001264/0.001264, allocations: 214 kB / 25.26 MB, free: 3.129 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.315/1.315, allocations: 207.7 MB / 236.1 MB, free: 9.789 MB / 190.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.TwoTanks,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TwoTanks",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TwoTanks",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.001642/0.001642, allocations: 47.92 kB / 348 MB, free: 9.898 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2311, allocations: 49.16 MB / 397.1 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks): time 0.003448/0.2345, allocations: 2.554 MB / 399.7 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.2356, allocations: 0.8141 MB / 400.5 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001337/0.2357, allocations: 3.281 kB / 400.5 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002474/0.236, allocations: 67 kB / 400.6 MB, free: 6.547 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002655/0.2362, allocations: 145.3 kB / 400.7 MB, free: 6.445 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000215/0.2364, allocations: 85.98 kB / 400.8 MB, free: 6.398 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004442/0.2369, allocations: 449.8 kB / 401.2 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.237, allocations: 69.94 kB / 401.3 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001607/0.2372, allocations: 164.4 kB / 401.5 MB, free: 6.055 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002379/0.2374, allocations: 181.5 kB / 401.6 MB, free: 5.965 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.89e-05/0.2375, allocations: 33.66 kB / 401.7 MB, free: 5.965 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.695e-05/0.2376, allocations: 39.53 kB / 401.7 MB, free: 5.961 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.109e-05/0.2376, allocations: 75.08 kB / 401.8 MB, free: 5.91 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000144/0.2378, allocations: 160.3 kB / 401.9 MB, free: 5.832 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004183/0.2382, allocations: 439 kB / 402.4 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2382, allocations: 1.438 kB / 402.4 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2382, allocations: 0 / 402.4 MB, free: 5.664 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.2382, allocations: 3.938 kB / 402.4 MB, free: 5.66 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0009091/0.2391, allocations: 0.623 MB / 403 MB, free: 5.176 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.2391, allocations: 17.98 kB / 403 MB, free: 5.168 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.695e-05/0.2392, allocations: 13.02 kB / 403 MB, free: 5.164 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.831e-05/0.2393, allocations: 78.52 kB / 403.1 MB, free: 5.094 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.005e-05/0.2393, allocations: 48.73 kB / 403.1 MB, free: 5.07 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003813/0.2397, allocations: 246.1 kB / 403.4 MB, free: 4.871 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.89e-05/0.2398, allocations: 104.1 kB / 403.5 MB, free: 4.77 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.15e-05/0.2399, allocations: 30.3 kB / 403.5 MB, free: 4.758 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005024/0.2404, allocations: 0.6927 MB / 404.2 MB, free: 4.105 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.2404, allocations: 9.891 kB / 404.2 MB, free: 4.098 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.875e-05/0.2404, allocations: 11.38 kB / 404.2 MB, free: 4.09 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.2404, allocations: 10.69 kB / 404.2 MB, free: 4.086 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003873/0.2408, allocations: 224 kB / 404.5 MB, free: 4.02 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001269/0.2421, allocations: 0.7811 MB / 405.2 MB, free: 3.527 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005297/0.2426, allocations: 299.7 kB / 405.5 MB, free: 3.41 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002214/0.2428, allocations: 138.9 kB / 405.7 MB, free: 3.355 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.587e-05/0.2429, allocations: 13.56 kB / 405.7 MB, free: 3.348 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.2429, allocations: 39.7 kB / 405.7 MB, free: 3.305 MB / 318.1 MB Notification: Performance of pre-optimization done (n=39): time 1.653e-06/0.2429, allocations: 0 / 405.7 MB, free: 3.305 MB / 318.1 MB Notification: Performance of matching and sorting (n=50): time 0.003662/0.2465, allocations: 1.436 MB / 407.2 MB, free: 2.66 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.461e-05/0.2466, allocations: 320.5 kB / 407.5 MB, free: 2.281 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000258/0.2469, allocations: 280.7 kB / 407.7 MB, free: 2.117 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.401e-05/0.2469, allocations: 34.98 kB / 407.8 MB, free: 2.082 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.642e-05/0.247, allocations: 174.9 kB / 407.9 MB, free: 1.934 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.689e-05/0.2471, allocations: 177.7 kB / 408.1 MB, free: 1.793 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/0.2472, allocations: 90.14 kB / 408.2 MB, free: 1.742 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.963e-05/0.2473, allocations: 347.1 kB / 408.5 MB, free: 1.414 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003171/0.2476, allocations: 174.2 kB / 408.7 MB, free: 1.336 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003958/0.248, allocations: 0.555 MB / 409.3 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005837/0.2486, allocations: 393.8 kB / 409.7 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2486, allocations: 0 / 409.7 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009438/0.2496, allocations: 0.5332 MB / 410.2 MB, free: 324 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.046e-05/0.2496, allocations: 37.31 kB / 410.2 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.2496, allocations: 0 / 410.2 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000128/0.2497, allocations: 42.33 kB / 410.3 MB, free: 268 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00265/0.2524, allocations: 349.1 kB / 410.6 MB, free: 252 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003821/0.2562, allocations: 3.011 MB / 413.6 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000495/0.2567, allocations: 27.92 kB / 413.6 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.962e-05/0.2567, allocations: 15.31 kB / 413.7 MB, free: 13.47 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002772/0.257, allocations: 165.5 kB / 413.8 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.289e-05/0.2571, allocations: 44.78 kB / 413.9 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001049/0.2572, allocations: 50.17 kB / 413.9 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.2572, allocations: 6.562 kB / 413.9 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.2572, allocations: 7.938 kB / 413.9 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001029/0.2582, allocations: 0.7924 MB / 414.7 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001802/0.26, allocations: 0.9551 MB / 415.7 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.26, allocations: 0 / 415.7 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00179/0.2618, allocations: 266 kB / 415.9 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.767e-05/0.2619, allocations: 24.31 kB / 416 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.012e-05/0.2619, allocations: 10.38 kB / 416 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001072/0.263, allocations: 1.316 MB / 417.3 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.263, allocations: 1.656 kB / 417.3 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/0.2643, allocations: 0.7492 MB / 418 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001848/0.2645, allocations: 75.22 kB / 418.1 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.909e-05/0.2645, allocations: 11.72 kB / 418.1 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003144/0.2648, allocations: 23.95 kB / 418.1 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.897e-05/0.2649, allocations: 32.59 kB / 418.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.208e-05/0.265, allocations: 16.48 kB / 418.2 MB, free: 10.1 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002204/0.2652, allocations: 201.5 kB / 418.4 MB, free: 9.965 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2652, allocations: 0 / 418.4 MB, free: 9.965 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004738/0.2657, allocations: 123.6 kB / 418.5 MB, free: 9.945 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 ($outputAlias_V_flow,$outputAlias_T1,$outputAlias_level2,$outputAlias_T2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 47 * 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 {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001631/0.2673, allocations: 1.299 MB / 419.8 MB, free: 8.961 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001798/0.2691, allocations: 0.6826 MB / 420.5 MB, free: 8.531 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2691, allocations: 5.156 kB / 420.5 MB, free: 8.527 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004585/0.2696, allocations: 310.6 kB / 420.8 MB, free: 8.328 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005268/0.2701, allocations: 98.14 kB / 420.9 MB, free: 8.27 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00571/0.2758, allocations: 4.055 MB / 425 MB, free: 5.453 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001798/0.276, allocations: 193.4 kB / 425.1 MB, free: 5.328 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.00021/0.2762, allocations: 48.17 kB / 425.2 MB, free: 5.309 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002144/0.2764, allocations: 130 kB / 425.3 MB, free: 5.207 MB / 334.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2764, allocations: 0 / 425.3 MB, free: 5.207 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03912/0.3155, allocations: 12.08 MB / 437.4 MB, free: 9.43 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.53/12.84, allocations: 4.047 kB / 437.4 MB, free: 9.426 MB / 350.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TwoTanks_fmu --startTime=0 --stopTime=1.5 --stepSize=0.00029988 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TwoTanks.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TwoTanks/TwoTanks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable openTank1.H in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.mat. Warning: Get data of variable openTank1.H from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.mat failed! Error: Could not read variable openTank2.H in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.mat. Warning: Get data of variable openTank2.H from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.271299532963894]