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.001867/0.001867, allocations: 115 kB / 18.46 MB, free: 4.621 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.0023/0.0023, allocations: 207.3 kB / 21.41 MB, free: 1.668 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.473/1.473, allocations: 230.6 MB / 254.8 MB, free: 15.09 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: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 51.92 kB / 374.1 MB, free: 9.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09998/0.1015, allocations: 53.34 MB / 427.5 MB, free: 4.316 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004519/0.1061, allocations: 2.894 MB / 430.4 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2185/0.3246, allocations: 1.406 MB / 431.8 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004198/0.325, allocations: 9.875 kB / 431.8 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005874/0.3256, allocations: 176.8 kB / 431.9 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007021/0.3263, allocations: 249.9 kB / 432.2 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004257/0.3268, allocations: 137.1 kB / 432.3 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006814/0.3274, allocations: 460.4 kB / 432.8 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001883/0.3276, allocations: 74.09 kB / 432.8 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002496/0.3279, allocations: 187.9 kB / 433 MB, free: 8.012 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002484/0.3281, allocations: 218.7 kB / 433.2 MB, free: 7.973 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.482e-05/0.3282, allocations: 33.97 kB / 433.3 MB, free: 7.969 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001555/0.3283, allocations: 71.58 kB / 433.3 MB, free: 7.969 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.528e-05/0.3284, allocations: 85.11 kB / 433.4 MB, free: 7.953 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001528/0.3286, allocations: 196.5 kB / 433.6 MB, free: 7.895 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005265/0.3291, allocations: 499.1 kB / 434.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3291, allocations: 0 / 434.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3291, allocations: 0 / 434.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.3291, allocations: 2.875 kB / 434.1 MB, free: 7.805 MB / 350.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.001081/0.3302, allocations: 0.7192 MB / 434.8 MB, free: 7.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.3302, allocations: 13.28 kB / 434.8 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.84e-05/0.3303, allocations: 52.91 kB / 434.9 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004767/0.3308, allocations: 341 kB / 435.2 MB, free: 6.992 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.3308, allocations: 15.81 kB / 435.2 MB, free: 6.992 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.772e-05/0.3309, allocations: 20.75 kB / 435.3 MB, free: 6.992 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004532/0.3313, allocations: 297 kB / 435.6 MB, free: 6.867 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.3313, allocations: 1.312 kB / 435.6 MB, free: 6.867 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.117e-05/0.3314, allocations: 13.88 kB / 435.6 MB, free: 6.867 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.3314, allocations: 4.375 kB / 435.6 MB, free: 6.867 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002977/0.3317, allocations: 148.3 kB / 435.7 MB, free: 6.863 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.001312/0.333, allocations: 0.8209 MB / 436.5 MB, free: 6.469 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004145/0.3334, allocations: 175.1 kB / 436.7 MB, free: 6.445 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/0.3336, allocations: 75.42 kB / 436.8 MB, free: 6.438 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.005e-05/0.3336, allocations: 3.828 kB / 436.8 MB, free: 6.438 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002581/0.3338, allocations: 133.8 kB / 436.9 MB, free: 6.387 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.954e-06/0.3338, allocations: 1.25 kB / 436.9 MB, free: 6.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008451/0.3347, allocations: 408.2 kB / 437.3 MB, free: 6.227 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.41e-05/0.3348, allocations: 316.9 kB / 437.6 MB, free: 5.852 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004685/0.3352, allocations: 438.9 kB / 438.1 MB, free: 5.738 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.3353, allocations: 31.58 kB / 438.1 MB, free: 5.707 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.3354, allocations: 212 kB / 438.3 MB, free: 5.598 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.748e-05/0.3354, allocations: 87.34 kB / 438.4 MB, free: 5.543 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.098e-05/0.3355, allocations: 56.88 kB / 438.4 MB, free: 5.527 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.27e-05/0.3356, allocations: 353.9 kB / 438.8 MB, free: 5.211 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.3357, allocations: 61.31 kB / 438.8 MB, free: 5.211 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002032/0.336, allocations: 185.4 kB / 439 MB, free: 5.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002786/0.3362, allocations: 169.4 kB / 439.2 MB, free: 5.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.3362, allocations: 0.7031 kB / 439.2 MB, free: 5.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004706/0.3367, allocations: 278.4 kB / 439.5 MB, free: 4.879 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.3367, allocations: 9.938 kB / 439.5 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.3367, allocations: 1.812 kB / 439.5 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001594/0.3369, allocations: 34.08 kB / 439.5 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/0.3371, allocations: 55.69 kB / 439.6 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001206/0.3383, allocations: 1.571 MB / 441.1 MB, free: 3.348 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002575/0.3386, allocations: 22.17 kB / 441.2 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.883e-05/0.3386, allocations: 7.375 kB / 441.2 MB, free: 3.336 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.0001822/0.3388, allocations: 168.2 kB / 441.3 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.685e-05/0.3388, allocations: 45.59 kB / 441.4 MB, free: 3.172 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.161e-05/0.3389, allocations: 46.95 kB / 441.4 MB, free: 3.145 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.3389, allocations: 3.047 kB / 441.4 MB, free: 3.145 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.3389, allocations: 9.125 kB / 441.4 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004268/0.3394, allocations: 0.578 MB / 442 MB, free: 2.559 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009215/0.3403, allocations: 0.7074 MB / 442.7 MB, free: 2.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.3403, allocations: 0 / 442.7 MB, free: 2.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002149/0.3405, allocations: 47.2 kB / 442.8 MB, free: 2.066 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.3405, allocations: 0 / 442.8 MB, free: 2.066 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/0.3405, allocations: 7.391 kB / 442.8 MB, free: 2.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.3405, allocations: 1.094 kB / 442.8 MB, free: 2.062 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3405, allocations: 2.672 kB / 442.8 MB, free: 2.062 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005652/0.3411, allocations: 419.4 kB / 443.2 MB, free: 1.809 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/0.3412, allocations: 140.8 kB / 443.3 MB, free: 1.676 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.965e-05/0.3413, allocations: 7.031 kB / 443.3 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002223/0.3415, allocations: 16.81 kB / 443.3 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.31e-05/0.3416, allocations: 19.33 kB / 443.4 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.648e-05/0.3416, allocations: 6.656 kB / 443.4 MB, free: 1.656 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004371/0.342, allocations: 319.9 kB / 443.7 MB, free: 1.508 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.342, allocations: 0 / 443.7 MB, free: 1.508 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000452/0.3425, allocations: 89.84 kB / 443.8 MB, free: 1.496 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.001528/0.344, allocations: 425 kB / 444.2 MB, free: 1.336 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007184/0.3447, allocations: 302.2 kB / 444.5 MB, free: 1.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.3447, allocations: 1.031 kB / 444.5 MB, free: 1.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001996/0.3449, allocations: 75.47 kB / 444.5 MB, free: 1.137 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006686/0.3456, allocations: 105.5 kB / 444.7 MB, free: 1.094 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/0.3471, allocations: 0.8409 MB / 445.5 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.3475, allocations: 0.7972 MB / 446.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.3476, allocations: 32.53 kB / 446.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of SimCode: time 1.133e-06/0.3476, allocations: 1.25 kB / 446.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of Templates: time 0.01217/0.3597, allocations: 5.943 MB / 452.3 MB, free: 14.95 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 480] 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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.530540145002306]