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.00139/0.00139, allocations: 84.56 kB / 22 MB, free: 5.184 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.001446/0.001446, allocations: 161.8 kB / 25.25 MB, free: 3.023 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.384/1.384, allocations: 158.6 MB / 187 MB, free: 6.48 MB / 174.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.001809/0.001809, allocations: 59.92 kB / 299.3 MB, free: 6.887 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.2547, allocations: 49.15 MB / 348.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.00447/0.2592, allocations: 2.654 MB / 351.1 MB, free: 12.86 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002214/0.2614, allocations: 1.138 MB / 352.3 MB, free: 11.71 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001659/0.2616, allocations: 3.938 kB / 352.3 MB, free: 11.71 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006182/0.2622, allocations: 183.1 kB / 352.5 MB, free: 11.53 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005037/0.2627, allocations: 214.8 kB / 352.7 MB, free: 11.32 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003891/0.2631, allocations: 143.7 kB / 352.8 MB, free: 11.18 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006033/0.2637, allocations: 449.9 kB / 353.3 MB, free: 10.74 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002049/0.2639, allocations: 72 kB / 353.3 MB, free: 10.66 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002329/0.2641, allocations: 183.3 kB / 353.5 MB, free: 10.48 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002997/0.2644, allocations: 199.1 kB / 353.7 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.669e-05/0.2645, allocations: 32 kB / 353.7 MB, free: 10.26 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001465/0.2646, allocations: 71.92 kB / 353.8 MB, free: 10.19 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001197/0.2647, allocations: 91.67 kB / 353.9 MB, free: 10.1 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001805/0.2649, allocations: 163.2 kB / 354.1 MB, free: 9.938 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005607/0.2655, allocations: 484.5 kB / 354.5 MB, free: 9.469 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.2655, allocations: 0 / 354.5 MB, free: 9.469 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2655, allocations: 0 / 354.5 MB, free: 9.469 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.2655, allocations: 0 / 354.5 MB, free: 9.469 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.001052/0.2665, allocations: 0.6407 MB / 355.2 MB, free: 8.797 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.2666, allocations: 8.031 kB / 355.2 MB, free: 8.789 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.2667, allocations: 56.64 kB / 355.2 MB, free: 8.734 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005067/0.2672, allocations: 281.1 kB / 355.5 MB, free: 8.438 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.628e-05/0.2672, allocations: 16.88 kB / 355.5 MB, free: 8.422 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.768e-05/0.2673, allocations: 20.12 kB / 355.5 MB, free: 8.402 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006872/0.2679, allocations: 0.5849 MB / 356.1 MB, free: 7.699 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.268, allocations: 4 kB / 356.1 MB, free: 7.695 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.018e-05/0.268, allocations: 12 kB / 356.1 MB, free: 7.684 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.268, allocations: 11.98 kB / 356.2 MB, free: 7.672 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003049/0.2683, allocations: 145.9 kB / 356.3 MB, free: 7.531 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.001252/0.2696, allocations: 0.6418 MB / 356.9 MB, free: 6.852 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003815/0.2699, allocations: 175.1 kB / 357.1 MB, free: 6.672 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001463/0.2701, allocations: 68.83 kB / 357.2 MB, free: 6.602 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.321e-05/0.2701, allocations: 4 kB / 357.2 MB, free: 6.598 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002892/0.2704, allocations: 190.7 kB / 357.4 MB, free: 6.387 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.734e-06/0.2704, allocations: 3.938 kB / 357.4 MB, free: 6.383 MB / 318.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008799/0.2713, allocations: 341.8 kB / 357.7 MB, free: 6.039 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001961/0.2715, allocations: 316.4 kB / 358 MB, free: 5.656 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004727/0.272, allocations: 417.7 kB / 358.4 MB, free: 5.238 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.585e-05/0.272, allocations: 33.7 kB / 358.5 MB, free: 5.199 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001702/0.2722, allocations: 200.4 kB / 358.6 MB, free: 5 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.189e-05/0.2722, allocations: 87.28 kB / 358.7 MB, free: 4.914 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.487e-05/0.2723, allocations: 61.62 kB / 358.8 MB, free: 4.848 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.2725, allocations: 350.8 kB / 359.1 MB, free: 4.496 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.2727, allocations: 59.97 kB / 359.2 MB, free: 4.438 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003991/0.2731, allocations: 437 kB / 359.6 MB, free: 3.906 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003218/0.2734, allocations: 168 kB / 359.8 MB, free: 3.73 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.014e-06/0.2734, allocations: 4 kB / 359.8 MB, free: 3.727 MB / 318.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005306/0.2739, allocations: 286 kB / 360.1 MB, free: 3.438 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.2739, allocations: 7.938 kB / 360.1 MB, free: 3.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.274, allocations: 4 kB / 360.1 MB, free: 3.426 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001483/0.2741, allocations: 36.83 kB / 360.1 MB, free: 3.387 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002207/0.2743, allocations: 43.98 kB / 360.2 MB, free: 3.344 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001588/0.2759, allocations: 1.437 MB / 361.6 MB, free: 1.801 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002045/0.2761, allocations: 27.83 kB / 361.6 MB, free: 1.773 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.2761, allocations: 4 kB / 361.6 MB, free: 1.77 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.0001978/0.2763, allocations: 169.8 kB / 361.8 MB, free: 1.594 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.553e-05/0.2764, allocations: 47.7 kB / 361.8 MB, free: 1.547 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005248/0.2769, allocations: 269.8 kB / 362.1 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.2769, allocations: 4 kB / 362.1 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.2769, allocations: 7.938 kB / 362.1 MB, free: 1.258 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005625/0.2775, allocations: 0.5798 MB / 362.7 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009272/0.2784, allocations: 0.6181 MB / 363.3 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.2784, allocations: 0 / 363.3 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002206/0.2786, allocations: 51.91 kB / 363.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.2787, allocations: 3.938 kB / 363.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.2787, allocations: 4 kB / 363.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2787, allocations: 0 / 363.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2787, allocations: 0 / 363.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006166/0.2793, allocations: 411 kB / 363.8 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.2794, allocations: 71.64 kB / 363.8 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.703e-05/0.2795, allocations: 8 kB / 363.9 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/0.2797, allocations: 15.98 kB / 363.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.872e-05/0.2797, allocations: 15.91 kB / 363.9 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.538e-05/0.2798, allocations: 12 kB / 363.9 MB, free: 15.32 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003275/0.2801, allocations: 299.2 kB / 364.2 MB, free: 15.02 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2801, allocations: 0 / 364.2 MB, free: 15.02 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003976/0.2805, allocations: 99.97 kB / 364.3 MB, free: 14.93 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.001675/0.2822, allocations: 440.2 kB / 364.7 MB, free: 14.48 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006285/0.2828, allocations: 310.3 kB / 365 MB, free: 14.17 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.2828, allocations: 0 / 365 MB, free: 14.17 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001678/0.283, allocations: 79.91 kB / 365.1 MB, free: 14.09 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005631/0.2835, allocations: 97.5 kB / 365.2 MB, free: 14 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.285, allocations: 0.8 MB / 366 MB, free: 13.17 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002078/0.2852, allocations: 193.3 kB / 366.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001519/0.2854, allocations: 46.94 kB / 366.2 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.067e-05/0.2854, allocations: 28.5 kB / 366.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of SimCode: time 6.22e-07/0.2854, allocations: 4 kB / 366.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of Templates: time 0.01301/0.2984, allocations: 6.45 MB / 372.7 MB, free: 6.418 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins1/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: 4.733976424089633]