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.001041/0.001041, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003652/0.003652, allocations: 162 kB / 24.69 MB, free: 8.891 MB / 18.57 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 0.8356/0.8356, allocations: 158.6 MB / 186.5 MB, free: 3.039 MB / 170.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 298.4 MB, free: 3.539 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.198e-05/1.392e-05, allocations: 2.281 kB / 298.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.002977/0.002991, allocations: 2.66 MB / 301.1 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1374/0.1404, allocations: 1.124 MB / 302.2 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003149/0.1407, allocations: 6.219 kB / 302.2 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005671/0.1413, allocations: 181.1 kB / 302.4 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004691/0.1417, allocations: 215.9 kB / 302.6 MB, free: 13.12 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000354/0.1421, allocations: 153.9 kB / 302.7 MB, free: 13.12 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004936/0.1426, allocations: 465.3 kB / 303.2 MB, free: 12.99 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001769/0.1428, allocations: 66.27 kB / 303.3 MB, free: 12.98 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002608/0.143, allocations: 262.8 kB / 303.5 MB, free: 12.96 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002193/0.1432, allocations: 169.6 kB / 303.7 MB, free: 12.95 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.5e-05/0.1433, allocations: 29.09 kB / 303.7 MB, free: 12.95 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/0.1434, allocations: 70.55 kB / 303.8 MB, free: 12.94 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.762e-05/0.1435, allocations: 88.27 kB / 303.9 MB, free: 12.93 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001273/0.1436, allocations: 133 kB / 304 MB, free: 12.91 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005707/0.1442, allocations: 494.3 kB / 304.5 MB, free: 12.85 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.1442, allocations: 0.5156 kB / 304.5 MB, free: 12.85 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.935e-06/0.1442, allocations: 2.562 kB / 304.5 MB, free: 12.85 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.1442, allocations: 0 / 304.5 MB, free: 12.85 MB / 282.7 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.0008865/0.1451, allocations: 0.632 MB / 305.1 MB, free: 12.41 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.1452, allocations: 13.2 kB / 305.1 MB, free: 12.41 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.393e-05/0.1452, allocations: 69.05 kB / 305.2 MB, free: 12.36 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.268e-05/0.1453, allocations: 50.86 kB / 305.2 MB, free: 12.34 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004451/0.1458, allocations: 279.8 kB / 305.5 MB, free: 12.16 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.1458, allocations: 14.59 kB / 305.5 MB, free: 12.16 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.93e-05/0.1458, allocations: 21.31 kB / 305.6 MB, free: 12.16 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004289/0.1463, allocations: 0.5992 MB / 306.2 MB, free: 11.62 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.1463, allocations: 4.781 kB / 306.2 MB, free: 11.62 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.1463, allocations: 11.59 kB / 306.2 MB, free: 11.62 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.1463, allocations: 4.781 kB / 306.2 MB, free: 11.62 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002157/0.1465, allocations: 154.6 kB / 306.3 MB, free: 11.57 MB / 282.7 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.000955/0.1475, allocations: 0.7002 MB / 307 MB, free: 11.11 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002713/0.1477, allocations: 173 kB / 307.2 MB, free: 11.04 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.465e-05/0.1478, allocations: 69.55 kB / 307.3 MB, free: 11 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.1479, allocations: 7.125 kB / 307.3 MB, free: 11 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002025/0.1481, allocations: 191.5 kB / 307.5 MB, free: 10.86 MB / 282.7 MB Notification: Performance of pre-optimization done (n=23): time 1.633e-06/0.1481, allocations: 0 / 307.5 MB, free: 10.86 MB / 282.7 MB Notification: Performance of matching and sorting (n=23): time 0.0006009/0.1487, allocations: 328 kB / 307.8 MB, free: 10.72 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.083e-05/0.1487, allocations: 318.7 kB / 308.1 MB, free: 10.34 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003462/0.1491, allocations: 438.9 kB / 308.5 MB, free: 10.14 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.1491, allocations: 33.02 kB / 308.6 MB, free: 10.1 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.163e-05/0.1492, allocations: 207.9 kB / 308.8 MB, free: 9.93 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.236e-05/0.1492, allocations: 82.33 kB / 308.8 MB, free: 9.867 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.252e-05/0.1493, allocations: 57.52 kB / 308.9 MB, free: 9.832 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.342e-05/0.1494, allocations: 348.4 kB / 309.2 MB, free: 9.504 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.307e-05/0.1495, allocations: 68.81 kB / 309.3 MB, free: 9.477 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001941/0.1496, allocations: 440 kB / 309.7 MB, free: 9.012 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002174/0.1499, allocations: 175.5 kB / 309.9 MB, free: 8.914 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.1499, allocations: 4 kB / 309.9 MB, free: 8.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003917/0.1503, allocations: 277.7 kB / 310.2 MB, free: 8.777 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.1503, allocations: 9.469 kB / 310.2 MB, free: 8.773 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.1503, allocations: 2.625 kB / 310.2 MB, free: 8.773 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001673/0.1505, allocations: 33.81 kB / 310.2 MB, free: 8.758 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.1506, allocations: 49.69 kB / 310.3 MB, free: 8.758 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001157/0.1518, allocations: 1.468 MB / 311.7 MB, free: 7.391 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001982/0.152, allocations: 25.39 kB / 311.8 MB, free: 7.375 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.152, allocations: 8.141 kB / 311.8 MB, free: 7.375 MB / 282.7 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 (27): * Single equations (assignments): 26 * 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.0002061/0.1522, allocations: 166.4 kB / 311.9 MB, free: 7.234 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.615e-05/0.1523, allocations: 44.8 kB / 312 MB, free: 7.211 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003924/0.1527, allocations: 266.1 kB / 312.2 MB, free: 7.082 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.1527, allocations: 6.156 kB / 312.2 MB, free: 7.078 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.1527, allocations: 0.5625 kB / 312.2 MB, free: 7.078 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002598/0.1529, allocations: 0.5987 MB / 312.8 MB, free: 6.484 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006524/0.1536, allocations: 0.6498 MB / 313.5 MB, free: 6.043 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1536, allocations: 0 / 313.5 MB, free: 6.043 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.1537, allocations: 43.83 kB / 313.5 MB, free: 6.043 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1537, allocations: 1.312 kB / 313.5 MB, free: 6.043 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.1537, allocations: 6.344 kB / 313.5 MB, free: 6.039 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1538, allocations: 1.094 kB / 313.5 MB, free: 6.039 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.1538, allocations: 2.312 kB / 313.5 MB, free: 6.039 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003442/0.1541, allocations: 424.9 kB / 314 MB, free: 5.781 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.956e-05/0.1542, allocations: 60.48 kB / 314 MB, free: 5.746 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.901e-05/0.1542, allocations: 8.203 kB / 314 MB, free: 5.742 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.1543, allocations: 11.86 kB / 314 MB, free: 5.738 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.25e-05/0.1544, allocations: 17.91 kB / 314.1 MB, free: 5.734 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/0.1544, allocations: 6.156 kB / 314.1 MB, free: 5.734 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002453/0.1546, allocations: 319.1 kB / 314.4 MB, free: 5.586 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1546, allocations: 0 / 314.4 MB, free: 5.586 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003431/0.155, allocations: 94.02 kB / 314.5 MB, free: 5.57 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (openTank.m,openTank.H) * 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 (24): * Single equations (assignments): 22 * 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.001325/0.1563, allocations: 1.296 MB / 315.8 MB, free: 4.527 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004929/0.1568, allocations: 309.8 kB / 316.1 MB, free: 4.352 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1568, allocations: 0 / 316.1 MB, free: 4.352 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.1569, allocations: 81.84 kB / 316.1 MB, free: 4.324 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004408/0.1574, allocations: 106.9 kB / 316.2 MB, free: 4.281 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003491/0.1609, allocations: 3.316 MB / 319.6 MB, free: 2.23 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000184/0.161, allocations: 195.6 kB / 319.8 MB, free: 2.141 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001756/0.1612, allocations: 44.03 kB / 319.8 MB, free: 2.133 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.1613, allocations: 123.5 kB / 319.9 MB, free: 2.047 MB / 282.7 MB Notification: Performance of SimCode: time 1.232e-06/0.1613, allocations: 0 / 319.9 MB, free: 2.047 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03148/0.1928, allocations: 11.61 MB / 331.5 MB, free: 12.18 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.773/7.966, allocations: 19.84 kB / 331.5 MB, free: 12.16 MB / 298.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.57049785554409]