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.001397/0.001397, allocations: 109.6 kB / 21.18 MB, free: 0.5508 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.001675/0.001675, allocations: 204.2 kB / 24.49 MB, free: 3.91 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.513/1.513, allocations: 207.6 MB / 235.2 MB, free: 9.988 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.001861/0.001861, allocations: 54.59 kB / 347.7 MB, free: 9.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2856, allocations: 49.16 MB / 396.8 MB, free: 9.496 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.003693/0.2893, allocations: 2.876 MB / 399.7 MB, free: 7.473 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001732/0.291, allocations: 1.196 MB / 400.9 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001695/0.2912, allocations: 8.281 kB / 400.9 MB, free: 6.633 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005286/0.2917, allocations: 183.1 kB / 401.1 MB, free: 6.57 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004219/0.2921, allocations: 215 kB / 401.3 MB, free: 6.449 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003575/0.2925, allocations: 146.2 kB / 401.4 MB, free: 6.371 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004822/0.293, allocations: 450.8 kB / 401.9 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001704/0.2932, allocations: 78.67 kB / 402 MB, free: 6.109 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002136/0.2934, allocations: 190.2 kB / 402.1 MB, free: 6.027 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002831/0.2937, allocations: 208.6 kB / 402.3 MB, free: 5.945 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.649e-05/0.2937, allocations: 36.84 kB / 402.4 MB, free: 5.938 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001514/0.2939, allocations: 72.75 kB / 402.5 MB, free: 5.922 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.826e-05/0.294, allocations: 84.77 kB / 402.5 MB, free: 5.871 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001649/0.2941, allocations: 197.8 kB / 402.7 MB, free: 5.75 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005156/0.2946, allocations: 489.7 kB / 403.2 MB, free: 5.559 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2946, allocations: 0 / 403.2 MB, free: 5.559 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2946, allocations: 1.125 kB / 403.2 MB, free: 5.559 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.2946, allocations: 0 / 403.2 MB, free: 5.559 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.000944/0.2956, allocations: 0.6357 MB / 403.8 MB, free: 5.062 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.2956, allocations: 12.8 kB / 403.9 MB, free: 5.059 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.725e-05/0.2957, allocations: 48.42 kB / 403.9 MB, free: 5.035 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004193/0.2961, allocations: 292.8 kB / 404.2 MB, free: 4.805 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.2962, allocations: 12.44 kB / 404.2 MB, free: 4.801 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.175e-05/0.2962, allocations: 25.7 kB / 404.2 MB, free: 4.789 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004172/0.2966, allocations: 294 kB / 404.5 MB, free: 4.586 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.2966, allocations: 4.875 kB / 404.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.596e-05/0.2967, allocations: 7.875 kB / 404.5 MB, free: 4.578 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.2967, allocations: 8.656 kB / 404.5 MB, free: 4.574 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002767/0.2969, allocations: 148 kB / 404.7 MB, free: 4.527 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.001196/0.2981, allocations: 0.7873 MB / 405.5 MB, free: 3.98 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003762/0.2985, allocations: 181.6 kB / 405.6 MB, free: 3.895 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001317/0.2986, allocations: 68.73 kB / 405.7 MB, free: 3.863 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.638e-05/0.2987, allocations: 3.688 kB / 405.7 MB, free: 3.863 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002321/0.2989, allocations: 139.9 kB / 405.9 MB, free: 3.777 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.673e-06/0.2989, allocations: 0 / 405.9 MB, free: 3.777 MB / 318.1 MB Notification: Performance of matching and sorting (n=23): time 0.0007692/0.2997, allocations: 325.5 kB / 406.2 MB, free: 3.633 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.743e-05/0.2998, allocations: 318.4 kB / 406.5 MB, free: 3.254 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004288/0.3002, allocations: 431.4 kB / 406.9 MB, free: 3.051 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.3002, allocations: 33.38 kB / 406.9 MB, free: 3.016 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.3003, allocations: 202.6 kB / 407.1 MB, free: 2.848 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.114e-05/0.3004, allocations: 80.34 kB / 407.2 MB, free: 2.785 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.382e-05/0.3005, allocations: 60.84 kB / 407.3 MB, free: 2.746 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.18e-05/0.3005, allocations: 350 kB / 407.6 MB, free: 2.418 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.3007, allocations: 62.69 kB / 407.7 MB, free: 2.395 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001864/0.3009, allocations: 176.2 kB / 407.8 MB, free: 2.242 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002531/0.3011, allocations: 171.7 kB / 408 MB, free: 2.141 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.3011, allocations: 5.312 kB / 408 MB, free: 2.137 MB / 318.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004266/0.3015, allocations: 277.9 kB / 408.3 MB, free: 1.996 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.3016, allocations: 13.38 kB / 408.3 MB, free: 1.988 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.3016, allocations: 1.375 kB / 408.3 MB, free: 1.988 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001443/0.3017, allocations: 33.86 kB / 408.3 MB, free: 1.973 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.3019, allocations: 50.89 kB / 408.4 MB, free: 1.969 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001115/0.303, allocations: 1.471 MB / 409.9 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002455/0.3033, allocations: 29.56 kB / 409.9 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/0.3033, allocations: 6.922 kB / 409.9 MB, free: 0.5703 MB / 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.000157/0.3035, allocations: 171 kB / 410.1 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.924e-05/0.3035, allocations: 41.39 kB / 410.1 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004479/0.304, allocations: 253.9 kB / 410.4 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.304, allocations: 6.656 kB / 410.4 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.304, allocations: 1.172 kB / 410.4 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005796/0.3045, allocations: 0.5824 MB / 410.9 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/0.3057, allocations: 0.6872 MB / 411.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.3057, allocations: 0.7031 kB / 411.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002068/0.3059, allocations: 42.8 kB / 411.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.3059, allocations: 1.438 kB / 411.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/0.3059, allocations: 6.156 kB / 411.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.3059, allocations: 1.469 kB / 411.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3059, allocations: 0 / 411.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006358/0.3066, allocations: 405 kB / 412.1 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/0.3067, allocations: 63.27 kB / 412.1 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.675e-05/0.3068, allocations: 7.734 kB / 412.1 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002231/0.307, allocations: 11.98 kB / 412.2 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.375e-05/0.3071, allocations: 12.11 kB / 412.2 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-05/0.3071, allocations: 11.06 kB / 412.2 MB, free: 14.91 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004166/0.3075, allocations: 312.5 kB / 412.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3075, allocations: 0 / 412.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004535/0.308, allocations: 92.58 kB / 412.6 MB, free: 14.75 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 (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.001608/0.3096, allocations: 427.3 kB / 413 MB, free: 14.38 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006431/0.3102, allocations: 298.2 kB / 413.3 MB, free: 14.21 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.3102, allocations: 1.344 kB / 413.3 MB, free: 14.21 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001602/0.3104, allocations: 71.28 kB / 413.4 MB, free: 14.19 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006227/0.311, allocations: 115.1 kB / 413.5 MB, free: 14.13 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.3126, allocations: 0.8068 MB / 414.3 MB, free: 13.65 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005393/0.3131, allocations: 0.7978 MB / 415.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001927/0.3133, allocations: 43.42 kB / 415.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.603e-05/0.3134, allocations: 29.28 kB / 415.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3134, allocations: 1.875 kB / 415.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of Templates: time 0.0135/0.3269, allocations: 6.333 MB / 421.5 MB, free: 9.695 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.008590559009463]