Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002456/0.002456, allocations: 103.5 kB / 20.97 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002777/0.002777, allocations: 156.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.63/1.63, allocations: 177 MB / 204.5 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.056e-05/3.284e-05, allocations: 2.312 kB / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.007958/0.007991, allocations: 2.865 MB / 275 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004574/0.01256, allocations: 1.374 MB / 276.4 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003291/0.01289, allocations: 7.938 kB / 276.4 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00089/0.01378, allocations: 175.1 kB / 276.6 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001223/0.01501, allocations: 262.4 kB / 276.8 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007208/0.01573, allocations: 139.5 kB / 277 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001146/0.01687, allocations: 485.5 kB / 277.5 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003288/0.0172, allocations: 68.25 kB / 277.5 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007617/0.01796, allocations: 267.4 kB / 277.8 MB, free: 12.17 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005521/0.01852, allocations: 175.5 kB / 278 MB, free: 12 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000117/0.01863, allocations: 32 kB / 278 MB, free: 11.97 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002972/0.01893, allocations: 71.92 kB / 278.1 MB, free: 11.9 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001993/0.01913, allocations: 87.67 kB / 278.1 MB, free: 11.81 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003256/0.01946, allocations: 131.7 kB / 278.3 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00116/0.02062, allocations: 0.4905 MB / 278.8 MB, free: 11.19 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.02062, allocations: 0 / 278.8 MB, free: 11.19 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.02062, allocations: 0 / 278.8 MB, free: 11.19 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.687e-05/0.02064, allocations: 0 / 278.8 MB, free: 11.19 MB / 266.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.002214/0.02285, allocations: 0.7676 MB / 279.5 MB, free: 10.39 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.558e-05/0.02291, allocations: 11.98 kB / 279.5 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002601/0.02317, allocations: 64.61 kB / 279.6 MB, free: 10.31 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008885/0.02406, allocations: 299.1 kB / 279.9 MB, free: 9.988 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.206e-05/0.0241, allocations: 16.88 kB / 279.9 MB, free: 9.973 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.493e-05/0.0242, allocations: 28.38 kB / 279.9 MB, free: 9.945 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.02546, allocations: 0.6196 MB / 280.6 MB, free: 9.203 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/0.02548, allocations: 192 / 280.6 MB, free: 9.203 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.557e-05/0.02554, allocations: 16.38 kB / 280.6 MB, free: 9.188 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.02555, allocations: 7.938 kB / 280.6 MB, free: 9.18 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005869/0.02614, allocations: 137.9 kB / 280.7 MB, free: 9.047 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002631/0.02877, allocations: 0.7701 MB / 281.5 MB, free: 8.234 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007395/0.02951, allocations: 187.6 kB / 281.7 MB, free: 8.039 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002787/0.02979, allocations: 71.67 kB / 281.7 MB, free: 7.965 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.881e-05/0.02985, allocations: 4 kB / 281.7 MB, free: 7.961 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005269/0.03037, allocations: 198.6 kB / 281.9 MB, free: 7.742 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 2.645e-06/0.03038, allocations: 0 / 281.9 MB, free: 7.742 MB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.001609/0.03199, allocations: 332.8 kB / 282.3 MB, free: 7.406 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003158/0.0323, allocations: 316.4 kB / 282.6 MB, free: 7.023 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009947/0.0333, allocations: 0.4948 MB / 283.1 MB, free: 6.516 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.11e-05/0.03336, allocations: 33.7 kB / 283.1 MB, free: 6.477 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003961/0.03375, allocations: 275.2 kB / 283.4 MB, free: 6.203 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001559/0.03391, allocations: 87.27 kB / 283.5 MB, free: 6.117 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001987/0.03411, allocations: 75.3 kB / 283.5 MB, free: 6.035 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0005464/0.03465, allocations: 0.5391 MB / 284.1 MB, free: 5.484 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002702/0.03492, allocations: 63.97 kB / 284.1 MB, free: 5.422 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008144/0.03574, allocations: 476.6 kB / 284.6 MB, free: 4.836 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006568/0.0364, allocations: 190.5 kB / 284.8 MB, free: 4.633 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-06/0.0364, allocations: 4 kB / 284.8 MB, free: 4.629 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001033/0.03744, allocations: 284.9 kB / 285.1 MB, free: 4.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.03746, allocations: 8.094 kB / 285.1 MB, free: 4.332 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.03747, allocations: 3.938 kB / 285.1 MB, free: 4.328 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000244/0.03771, allocations: 43.61 kB / 285.1 MB, free: 4.281 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003508/0.03806, allocations: 51.91 kB / 285.2 MB, free: 4.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00334/0.0414, allocations: 1.967 MB / 287.1 MB, free: 2.137 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003935/0.0418, allocations: 19.89 kB / 287.2 MB, free: 2.117 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-05/0.04183, allocations: 12 kB / 287.2 MB, free: 2.105 MB / 266.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.0003495/0.04218, allocations: 204.5 kB / 287.4 MB, free: 1.895 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/0.04232, allocations: 47.72 kB / 287.4 MB, free: 1.848 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009258/0.04324, allocations: 270.3 kB / 287.7 MB, free: 1.57 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.04325, allocations: 0 / 287.7 MB, free: 1.57 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.04325, allocations: 0 / 287.7 MB, free: 1.57 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001038/0.04429, allocations: 0.5828 MB / 288.3 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002076/0.04637, allocations: 0.7227 MB / 289 MB, free: 116 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.04637, allocations: 0 / 289 MB, free: 116 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003917/0.04676, allocations: 47.92 kB / 289 MB, free: 68 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.04676, allocations: 0 / 289 MB, free: 68 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.721e-05/0.0468, allocations: 11.98 kB / 289 MB, free: 56 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.04681, allocations: 0 / 289 MB, free: 56 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.04681, allocations: 0 / 289 MB, free: 56 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001221/0.04803, allocations: 467.4 kB / 289.5 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002562/0.04828, allocations: 67.59 kB / 289.6 MB, free: 15.51 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.848e-05/0.04838, allocations: 8 kB / 289.6 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003905/0.04877, allocations: 12 kB / 289.6 MB, free: 15.49 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.798e-05/0.04885, allocations: 19.91 kB / 289.6 MB, free: 15.47 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-05/0.04889, allocations: 12.03 kB / 289.6 MB, free: 15.46 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006337/0.04953, allocations: 335.1 kB / 289.9 MB, free: 15.13 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.04953, allocations: 0 / 289.9 MB, free: 15.13 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007459/0.05027, allocations: 91.89 kB / 290 MB, free: 15.04 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.00455/0.05482, allocations: 432.5 kB / 290.5 MB, free: 14.76 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001162/0.05599, allocations: 385.5 kB / 290.8 MB, free: 14.36 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.05599, allocations: 4.062 kB / 290.8 MB, free: 14.36 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003457/0.05634, allocations: 99.92 kB / 290.9 MB, free: 14.26 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.05741, allocations: 109 kB / 291 MB, free: 14.15 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002278/0.05969, allocations: 0.7243 MB / 291.8 MB, free: 13.4 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.06002, allocations: 191.2 kB / 291.9 MB, free: 13.19 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002552/0.06028, allocations: 42.95 kB / 292 MB, free: 13.14 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.0604, allocations: 32.5 kB / 292 MB, free: 13.11 MB / 282.7 MB Notification: Performance of SimCode: time 1.072e-06/0.0604, allocations: 0 / 292 MB, free: 13.11 MB / 282.7 MB Notification: Performance of Templates: time 0.01619/0.0766, allocations: 6.483 MB / 298.5 MB, free: 6.777 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.752560071065091]