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.001119/0.001119, allocations: 88.73 kB / 21.5 MB, free: 2.988 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.001285/0.001285, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 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.003/1.003, allocations: 177 MB / 205.2 MB, free: 5.047 MB / 186.7 MB " [Timeout remaining time 179] 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 1.743e-06/1.743e-06, allocations: 0 / 273.4 MB, free: 1.059 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.324e-05/2.499e-05, allocations: 6.25 kB / 273.4 MB, free: 1.051 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.00455/0.004575, allocations: 2.915 MB / 276.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002477/0.007051, allocations: 1.405 MB / 277.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001926/0.007244, allocations: 7.938 kB / 277.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005077/0.007752, allocations: 175.1 kB / 277.9 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000582/0.008334, allocations: 262.4 kB / 278.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003414/0.008675, allocations: 139.4 kB / 278.3 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005662/0.009241, allocations: 481.7 kB / 278.8 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001706/0.009412, allocations: 66.94 kB / 278.8 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003498/0.009762, allocations: 263.4 kB / 279.1 MB, free: 11.33 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002691/0.01003, allocations: 171.5 kB / 279.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.174e-05/0.01008, allocations: 28 kB / 279.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001385/0.01022, allocations: 75.91 kB / 279.4 MB, free: 11.06 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.01032, allocations: 83.69 kB / 279.4 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001418/0.01046, allocations: 127.7 kB / 279.6 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004585/0.01092, allocations: 342.7 kB / 279.9 MB, free: 10.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.01093, allocations: 4 kB / 279.9 MB, free: 10.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.01093, allocations: 0 / 279.9 MB, free: 10.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.01094, allocations: 0 / 279.9 MB, free: 10.52 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.0008437/0.01178, allocations: 0.6158 MB / 280.5 MB, free: 9.875 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.01182, allocations: 11.98 kB / 280.5 MB, free: 9.863 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.699e-05/0.0119, allocations: 44.89 kB / 280.6 MB, free: 9.82 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003722/0.01228, allocations: 256 kB / 280.8 MB, free: 9.543 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.0123, allocations: 20.8 kB / 280.8 MB, free: 9.523 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.357e-05/0.01235, allocations: 24.38 kB / 280.9 MB, free: 9.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000451/0.0128, allocations: 0.5458 MB / 281.4 MB, free: 8.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.01281, allocations: 192 / 281.4 MB, free: 8.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.766e-05/0.01284, allocations: 16.36 kB / 281.4 MB, free: 8.824 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.01285, allocations: 15.94 kB / 281.4 MB, free: 8.809 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/0.01299, allocations: 66.22 kB / 281.5 MB, free: 8.742 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009731/0.01396, allocations: 463 kB / 282 MB, free: 8.266 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002334/0.0142, allocations: 149.1 kB / 282.1 MB, free: 8.109 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.64e-05/0.01426, allocations: 32.84 kB / 282.1 MB, free: 8.074 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.01429, allocations: 8 kB / 282.1 MB, free: 8.066 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001912/0.01448, allocations: 157.6 kB / 282.3 MB, free: 7.887 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.924e-06/0.01448, allocations: 0 / 282.3 MB, free: 7.887 MB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.0004685/0.01495, allocations: 187.6 kB / 282.5 MB, free: 7.695 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/0.01507, allocations: 320.4 kB / 282.8 MB, free: 7.309 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003403/0.01541, allocations: 352.9 kB / 283.1 MB, free: 6.953 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.01543, allocations: 29.7 kB / 283.2 MB, free: 6.918 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.01554, allocations: 165.4 kB / 283.3 MB, free: 6.75 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.441e-05/0.0156, allocations: 83.31 kB / 283.4 MB, free: 6.668 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.705e-05/0.01569, allocations: 61.67 kB / 283.5 MB, free: 6.602 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.01581, allocations: 354.7 kB / 283.8 MB, free: 6.246 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.138e-05/0.01587, allocations: 26.83 kB / 283.8 MB, free: 6.219 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002329/0.01611, allocations: 392.9 kB / 284.2 MB, free: 5.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.01627, allocations: 106.1 kB / 284.3 MB, free: 5.613 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.01627, allocations: 0 / 284.3 MB, free: 5.613 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002777/0.01655, allocations: 165.2 kB / 284.5 MB, free: 5.441 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.01657, allocations: 4 kB / 284.5 MB, free: 5.438 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.01657, allocations: 0 / 284.5 MB, free: 5.438 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.583e-05/0.01667, allocations: 20.84 kB / 284.5 MB, free: 5.414 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000275/0.01694, allocations: 79.81 kB / 284.6 MB, free: 5.336 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001047/0.01799, allocations: 1.245 MB / 285.8 MB, free: 4.004 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.01816, allocations: 35.7 kB / 285.9 MB, free: 3.969 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.01817, allocations: 4 kB / 285.9 MB, free: 3.965 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.0001249/0.0183, allocations: 132.6 kB / 286 MB, free: 3.824 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.516e-05/0.01835, allocations: 39.89 kB / 286 MB, free: 3.785 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002734/0.01863, allocations: 159.3 kB / 286.2 MB, free: 3.617 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.01863, allocations: 8 kB / 286.2 MB, free: 3.609 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.01863, allocations: 0 / 286.2 MB, free: 3.609 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002942/0.01893, allocations: 0.497 MB / 286.7 MB, free: 3.008 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005977/0.01953, allocations: 477.3 kB / 287.2 MB, free: 2.508 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.01953, allocations: 0 / 287.2 MB, free: 2.508 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002826/0.01981, allocations: 60.17 kB / 287.2 MB, free: 2.449 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.01981, allocations: 4 kB / 287.2 MB, free: 2.445 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.01983, allocations: 4 kB / 287.2 MB, free: 2.441 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.01983, allocations: 3.938 kB / 287.2 MB, free: 2.438 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.01984, allocations: 3.984 kB / 287.2 MB, free: 2.434 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003394/0.02018, allocations: 326 kB / 287.6 MB, free: 2.098 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.02028, allocations: 43.7 kB / 287.6 MB, free: 2.055 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.783e-05/0.02032, allocations: 15.97 kB / 287.6 MB, free: 2.039 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/0.0205, allocations: 8 kB / 287.6 MB, free: 2.031 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.035e-05/0.02054, allocations: 15.97 kB / 287.6 MB, free: 2.016 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-05/0.02056, allocations: 8 kB / 287.7 MB, free: 2.008 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001809/0.02075, allocations: 151.5 kB / 287.8 MB, free: 1.855 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02075, allocations: 4 kB / 287.8 MB, free: 1.852 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003708/0.02112, allocations: 99.88 kB / 287.9 MB, free: 1.754 MB / 266.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.001541/0.02266, allocations: 0.4959 MB / 288.4 MB, free: 1.445 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004124/0.02307, allocations: 247.7 kB / 288.6 MB, free: 1.188 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/0.02308, allocations: 4.188 kB / 288.6 MB, free: 1.184 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.577e-05/0.02317, allocations: 76.5 kB / 288.7 MB, free: 1.105 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004229/0.0236, allocations: 101.4 kB / 288.8 MB, free: 1.008 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.02508, allocations: 0.6969 MB / 289.5 MB, free: 284 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.11e-05/0.02516, allocations: 101.3 kB / 289.6 MB, free: 164 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001499/0.02531, allocations: 50.94 kB / 289.7 MB, free: 112 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.08635/0.1117, allocations: 177.9 kB / 289.8 MB, free: 24.67 MB / 266.7 MB Notification: Performance of SimCode: time 1.343e-06/0.1117, allocations: 0 / 289.8 MB, free: 24.67 MB / 266.7 MB Notification: Performance of Templates: time 0.009293/0.1209, allocations: 7.154 MB / 297 MB, free: 23.52 MB / 266.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 -s gbode -gbm=radauIIA3 -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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.839868643786758]