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.001765/0.001765, allocations: 118.4 kB / 18.41 MB, free: 4.648 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.002055/0.002055, allocations: 190.7 kB / 21.35 MB, free: 1.715 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.482/1.482, allocations: 222.9 MB / 247 MB, free: 4.371 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: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 47.92 kB / 358.7 MB, free: 8.676 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1035, allocations: 49.44 MB / 408.1 MB, free: 7.195 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004279/0.1079, allocations: 2.847 MB / 410.9 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00212/0.11, allocations: 1.258 MB / 412.2 MB, free: 3.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001842/0.1102, allocations: 4 kB / 412.2 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005224/0.1108, allocations: 179.1 kB / 412.4 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004578/0.1113, allocations: 206.8 kB / 412.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004487/0.1117, allocations: 174.3 kB / 412.7 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005449/0.1123, allocations: 457.8 kB / 413.2 MB, free: 2.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002097/0.1125, allocations: 107.5 kB / 413.3 MB, free: 1.961 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002318/0.1127, allocations: 175.3 kB / 413.5 MB, free: 1.789 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000276/0.113, allocations: 211.2 kB / 413.7 MB, free: 1.582 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.918e-05/0.1131, allocations: 28 kB / 413.7 MB, free: 1.555 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001556/0.1132, allocations: 71.92 kB / 413.8 MB, free: 1.484 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.1134, allocations: 83.67 kB / 413.9 MB, free: 1.402 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002021/0.1136, allocations: 191 kB / 414 MB, free: 1.215 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005758/0.1142, allocations: 493.9 kB / 414.5 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1142, allocations: 0 / 414.5 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1142, allocations: 4 kB / 414.5 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.1142, allocations: 0 / 414.5 MB, free: 0.7266 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.001092/0.1153, allocations: 0.7121 MB / 415.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.1153, allocations: 8.031 kB / 415.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.942e-05/0.1154, allocations: 48.66 kB / 415.3 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005357/0.116, allocations: 351 kB / 415.6 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/0.116, allocations: 16.81 kB / 415.7 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.252e-05/0.1161, allocations: 20.12 kB / 415.7 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000491/0.1166, allocations: 301.3 kB / 416 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.1166, allocations: 0 / 416 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.99e-05/0.1166, allocations: 12 kB / 416 MB, free: 15.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.046e-06/0.1166, allocations: 4 kB / 416 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003086/0.117, allocations: 145.7 kB / 416.1 MB, free: 15 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.001369/0.1183, allocations: 0.8322 MB / 417 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003953/0.1187, allocations: 183.1 kB / 417.1 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001541/0.1189, allocations: 77.58 kB / 417.2 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.229e-05/0.119, allocations: 4 kB / 417.2 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002725/0.1192, allocations: 137.7 kB / 417.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.673e-06/0.1192, allocations: 0 / 417.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008749/0.1201, allocations: 409.9 kB / 417.7 MB, free: 13.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001675/0.1203, allocations: 312.4 kB / 418.1 MB, free: 12.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004908/0.1208, allocations: 437.7 kB / 418.5 MB, free: 12.44 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.33e-05/0.1208, allocations: 33.7 kB / 418.5 MB, free: 12.4 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.121, allocations: 192.5 kB / 418.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.521e-05/0.1211, allocations: 91.25 kB / 418.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.558e-05/0.1212, allocations: 57.7 kB / 418.8 MB, free: 12.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.1214, allocations: 346.8 kB / 419.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.1215, allocations: 59.97 kB / 419.2 MB, free: 11.65 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002447/0.1218, allocations: 187.9 kB / 419.4 MB, free: 11.42 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002986/0.1221, allocations: 168 kB / 419.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.1221, allocations: 3.938 kB / 419.6 MB, free: 11.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004748/0.1226, allocations: 282 kB / 419.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.1226, allocations: 4 kB / 419.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1226, allocations: 0 / 419.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001359/0.1227, allocations: 28.84 kB / 419.9 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/0.123, allocations: 60 kB / 420 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001598/0.1246, allocations: 1.574 MB / 421.5 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002314/0.1248, allocations: 31.81 kB / 421.6 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.1248, allocations: 16 kB / 421.6 MB, free: 9.098 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 (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.0002043/0.1251, allocations: 170.2 kB / 421.7 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.278e-05/0.1251, allocations: 39.77 kB / 421.8 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.928e-05/0.1252, allocations: 39.59 kB / 421.8 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.1252, allocations: 11.92 kB / 421.8 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.1252, allocations: 0 / 421.8 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005656/0.1258, allocations: 0.575 MB / 422.4 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009432/0.1268, allocations: 0.704 MB / 423.1 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.1268, allocations: 0 / 423.1 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002126/0.127, allocations: 51.91 kB / 423.2 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.127, allocations: 96 / 423.2 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.127, allocations: 7.938 kB / 423.2 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.127, allocations: 4 kB / 423.2 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1271, allocations: 0 / 423.2 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005807/0.1276, allocations: 402.3 kB / 423.6 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001511/0.1278, allocations: 136.8 kB / 423.7 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.101e-05/0.1279, allocations: 8 kB / 423.7 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.1281, allocations: 11.98 kB / 423.7 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.1281, allocations: 15.98 kB / 423.7 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-05/0.1282, allocations: 8 kB / 423.7 MB, free: 6.723 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003502/0.1285, allocations: 315.2 kB / 424.1 MB, free: 6.418 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.356e-06/0.1285, allocations: 0 / 424.1 MB, free: 6.418 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000395/0.1289, allocations: 91.88 kB / 424.1 MB, free: 6.328 MB / 350.1 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 (23): * Single equations (assignments): 21 * 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.001511/0.1304, allocations: 446.2 kB / 424.6 MB, free: 6.059 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006563/0.1311, allocations: 318.2 kB / 424.9 MB, free: 5.734 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.1311, allocations: 4.188 kB / 424.9 MB, free: 5.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001706/0.1313, allocations: 87.84 kB / 425 MB, free: 5.645 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005623/0.1319, allocations: 104.8 kB / 425.1 MB, free: 5.547 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.1334, allocations: 0.8166 MB / 425.9 MB, free: 4.695 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000417/0.1338, allocations: 0.7882 MB / 426.7 MB, free: 3.879 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.183e-05/0.1339, allocations: 43.42 kB / 426.7 MB, free: 3.836 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1339, allocations: 0 / 426.7 MB, free: 3.836 MB / 350.1 MB Notification: Performance of Templates: time 0.1912/0.3251, allocations: 5.842 MB / 432.6 MB, free: 22.37 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile [Timeout 660] (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 & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 8.060247996007092]