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.002095/0.002095, allocations: 103.6 kB / 21.18 MB, free: 0.6016 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.001834/0.001834, allocations: 206.7 kB / 24.48 MB, free: 3.93 MB / 14.72 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 1.574/1.574, allocations: 207.7 MB / 235.3 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] 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: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002516/0.002516, allocations: 51.92 kB / 347.7 MB, free: 9.496 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.324, allocations: 49.16 MB / 396.8 MB, free: 9.375 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004769/0.3287, allocations: 2.665 MB / 399.5 MB, free: 7.582 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002/0.3307, allocations: 1.121 MB / 400.6 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001734/0.3309, allocations: 8.031 kB / 400.6 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005629/0.3315, allocations: 186.5 kB / 400.8 MB, free: 6.758 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004892/0.332, allocations: 212.6 kB / 401 MB, free: 6.641 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003853/0.3323, allocations: 150 kB / 401.2 MB, free: 6.559 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005576/0.3329, allocations: 447 kB / 401.6 MB, free: 6.348 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001934/0.3331, allocations: 73.66 kB / 401.7 MB, free: 6.309 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002354/0.3333, allocations: 184.2 kB / 401.8 MB, free: 6.23 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003148/0.3336, allocations: 196.6 kB / 402 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.486e-05/0.3337, allocations: 33.62 kB / 402.1 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001841/0.3339, allocations: 73.7 kB / 402.1 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001273/0.334, allocations: 88.42 kB / 402.2 MB, free: 6.086 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00019/0.3342, allocations: 163.1 kB / 402.4 MB, free: 6 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006388/0.3349, allocations: 491.6 kB / 402.9 MB, free: 5.809 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.3349, allocations: 3.938 kB / 402.9 MB, free: 5.805 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3349, allocations: 0 / 402.9 MB, free: 5.805 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.3349, allocations: 1 kB / 402.9 MB, free: 5.805 MB / 318.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.001032/0.3359, allocations: 0.6304 MB / 403.5 MB, free: 5.312 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.3359, allocations: 13.11 kB / 403.5 MB, free: 5.309 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.527e-05/0.336, allocations: 49.11 kB / 403.6 MB, free: 5.285 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004738/0.3365, allocations: 288 kB / 403.8 MB, free: 5.059 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.793e-05/0.3365, allocations: 12.5 kB / 403.9 MB, free: 5.055 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.674e-05/0.3366, allocations: 25.75 kB / 403.9 MB, free: 5.043 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005418/0.3371, allocations: 0.586 MB / 404.5 MB, free: 4.473 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.3372, allocations: 0 / 404.5 MB, free: 4.473 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.878e-05/0.3372, allocations: 19.47 kB / 404.5 MB, free: 4.457 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/0.3372, allocations: 4.531 kB / 404.5 MB, free: 4.457 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002935/0.3375, allocations: 149.6 kB / 404.6 MB, free: 4.406 MB / 318.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.001248/0.3387, allocations: 0.6437 MB / 405.3 MB, free: 3.98 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003792/0.3391, allocations: 173.6 kB / 405.5 MB, free: 3.902 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/0.3392, allocations: 73.09 kB / 405.5 MB, free: 3.867 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.268e-05/0.3393, allocations: 3.344 kB / 405.5 MB, free: 3.867 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002712/0.3396, allocations: 193.2 kB / 405.7 MB, free: 3.719 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.653e-06/0.3396, allocations: 0 / 405.7 MB, free: 3.719 MB / 318.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008345/0.3404, allocations: 328.4 kB / 406 MB, free: 3.574 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.9e-05/0.3405, allocations: 317.4 kB / 406.3 MB, free: 3.195 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004431/0.3409, allocations: 417.9 kB / 406.8 MB, free: 3 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.3409, allocations: 33.3 kB / 406.8 MB, free: 2.965 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.3411, allocations: 202.2 kB / 407 MB, free: 2.797 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.102e-05/0.3411, allocations: 91.75 kB / 407.1 MB, free: 2.723 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.445e-05/0.3412, allocations: 57.97 kB / 407.1 MB, free: 2.688 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.726e-05/0.3413, allocations: 348.7 kB / 407.5 MB, free: 2.359 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.3414, allocations: 59.94 kB / 407.5 MB, free: 2.34 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002586/0.3417, allocations: 437.5 kB / 408 MB, free: 1.875 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002942/0.342, allocations: 179.1 kB / 408.1 MB, free: 1.77 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.342, allocations: 0 / 408.1 MB, free: 1.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004564/0.3424, allocations: 284.9 kB / 408.4 MB, free: 1.625 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.3425, allocations: 4.625 kB / 408.4 MB, free: 1.625 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.3425, allocations: 1.312 kB / 408.4 MB, free: 1.625 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001418/0.3426, allocations: 34.17 kB / 408.4 MB, free: 1.609 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/0.3428, allocations: 55.8 kB / 408.5 MB, free: 1.602 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001224/0.344, allocations: 1.43 MB / 409.9 MB, free: 276 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002281/0.3443, allocations: 25.38 kB / 410 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.589e-05/0.3443, allocations: 15.53 kB / 410 MB, free: 252 kB / 318.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.0001833/0.3445, allocations: 163.4 kB / 410.1 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.2e-05/0.3445, allocations: 43.94 kB / 410.2 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005282/0.3451, allocations: 264.7 kB / 410.4 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.3451, allocations: 7.141 kB / 410.4 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3451, allocations: 3.938 kB / 410.4 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006504/0.3457, allocations: 0.5882 MB / 411 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.3468, allocations: 0.6123 MB / 411.6 MB, free: 14.94 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.3468, allocations: 2.297 kB / 411.6 MB, free: 14.94 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002135/0.347, allocations: 45.75 kB / 411.7 MB, free: 14.94 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.347, allocations: 5.375 kB / 411.7 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/0.347, allocations: 7.562 kB / 411.7 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.347, allocations: 1.375 kB / 411.7 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.347, allocations: 0 / 411.7 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006528/0.3477, allocations: 418.2 kB / 412.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001431/0.3478, allocations: 67.78 kB / 412.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.861e-05/0.3479, allocations: 7.75 kB / 412.2 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/0.3481, allocations: 11.69 kB / 412.2 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.644e-05/0.3481, allocations: 16.61 kB / 412.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.547e-05/0.3481, allocations: 7.172 kB / 412.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003591/0.3485, allocations: 307.7 kB / 412.5 MB, free: 14.48 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3485, allocations: 0 / 412.5 MB, free: 14.48 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004191/0.3489, allocations: 92.73 kB / 412.6 MB, free: 14.46 MB / 334.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 (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.00173/0.3507, allocations: 450.6 kB / 413.1 MB, free: 14.07 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006445/0.3513, allocations: 306.1 kB / 413.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.3513, allocations: 1.469 kB / 413.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001708/0.3515, allocations: 76.97 kB / 413.4 MB, free: 13.87 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006116/0.3521, allocations: 104.7 kB / 413.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.3537, allocations: 0.7988 MB / 414.3 MB, free: 13.35 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.3539, allocations: 187.1 kB / 414.5 MB, free: 13.26 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001811/0.3541, allocations: 47.31 kB / 414.6 MB, free: 13.25 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.404e-05/0.3542, allocations: 34.05 kB / 414.6 MB, free: 13.23 MB / 334.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3542, allocations: 0 / 414.6 MB, free: 13.23 MB / 334.1 MB Notification: Performance of Templates: time 0.01448/0.3687, allocations: 6.91 MB / 421.5 MB, free: 9.633 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile [Timeout 660] (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 & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 480] 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: 5.118408173322678]