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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 104.9 kB / 17.72 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 188.1 kB / 18.66 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.479/1.479, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 47.92 kB / 328.5 MB, free: 3.328 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1124, allocations: 46.61 MB / 375.1 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004491/0.1169, allocations: 2.847 MB / 378 MB, free: 1.742 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002084/0.119, allocations: 1.181 MB / 379.1 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002782/0.1193, allocations: 4 kB / 379.2 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006256/0.12, allocations: 187.1 kB / 379.3 MB, free: 372 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005692/0.1205, allocations: 202.8 kB / 379.5 MB, free: 168 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004523/0.121, allocations: 151.6 kB / 379.7 MB, free: 16 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2326/0.3536, allocations: 445.1 kB / 380.1 MB, free: 10.49 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002712/0.3539, allocations: 110.9 kB / 380.2 MB, free: 10.48 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002704/0.3542, allocations: 177.2 kB / 380.4 MB, free: 10.46 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003178/0.3545, allocations: 215.6 kB / 380.6 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.961e-05/0.3546, allocations: 30.38 kB / 380.6 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002074/0.3548, allocations: 63.95 kB / 380.7 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.3549, allocations: 85.64 kB / 380.8 MB, free: 10.4 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001887/0.3551, allocations: 201.6 kB / 381 MB, free: 10.34 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006947/0.3558, allocations: 481.1 kB / 381.5 MB, free: 10.28 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3559, allocations: 1.328 kB / 381.5 MB, free: 10.28 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.3559, allocations: 0.5938 kB / 381.5 MB, free: 10.28 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.3559, allocations: 0 / 381.5 MB, free: 10.28 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.001046/0.3569, allocations: 0.694 MB / 382.1 MB, free: 9.77 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.357, allocations: 11.67 kB / 382.2 MB, free: 9.77 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/0.3571, allocations: 48.91 kB / 382.2 MB, free: 9.746 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005535/0.3577, allocations: 343.9 kB / 382.5 MB, free: 9.496 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.113e-05/0.3577, allocations: 13.53 kB / 382.6 MB, free: 9.496 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.114e-05/0.3578, allocations: 21.44 kB / 382.6 MB, free: 9.496 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005303/0.3583, allocations: 297.9 kB / 382.9 MB, free: 9.367 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.3583, allocations: 0 / 382.9 MB, free: 9.367 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.119e-05/0.3584, allocations: 11.78 kB / 382.9 MB, free: 9.367 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.3584, allocations: 5.656 kB / 382.9 MB, free: 9.367 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003119/0.3587, allocations: 147.5 kB / 383 MB, free: 9.367 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.001373/0.3601, allocations: 0.8277 MB / 383.9 MB, free: 8.965 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003994/0.3605, allocations: 193.8 kB / 384 MB, free: 8.91 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000143/0.3606, allocations: 75.56 kB / 384.1 MB, free: 8.879 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.309e-05/0.3607, allocations: 8.688 kB / 384.1 MB, free: 8.875 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000267/0.361, allocations: 140.4 kB / 384.3 MB, free: 8.793 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.633e-06/0.361, allocations: 0 / 384.3 MB, free: 8.793 MB / 318.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008491/0.3618, allocations: 404.5 kB / 384.7 MB, free: 8.555 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.979e-05/0.3619, allocations: 318.4 kB / 385 MB, free: 8.176 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004887/0.3624, allocations: 434.7 kB / 385.4 MB, free: 7.973 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.3625, allocations: 36.56 kB / 385.4 MB, free: 7.934 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.3626, allocations: 202.9 kB / 385.6 MB, free: 7.766 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.233e-05/0.3627, allocations: 78.34 kB / 385.7 MB, free: 7.707 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.3628, allocations: 57.75 kB / 385.8 MB, free: 7.672 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.035e-05/0.3629, allocations: 349.7 kB / 386.1 MB, free: 7.344 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.363, allocations: 58.97 kB / 386.2 MB, free: 7.324 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001862/0.3632, allocations: 172.7 kB / 386.3 MB, free: 7.176 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000269/0.3635, allocations: 180.9 kB / 386.5 MB, free: 7.07 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3635, allocations: 1.156 kB / 386.5 MB, free: 7.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004476/0.3639, allocations: 274.1 kB / 386.8 MB, free: 6.941 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.364, allocations: 4.875 kB / 386.8 MB, free: 6.941 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.364, allocations: 1.781 kB / 386.8 MB, free: 6.941 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001452/0.3641, allocations: 33.77 kB / 386.8 MB, free: 6.926 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/0.3644, allocations: 55.77 kB / 386.9 MB, free: 6.922 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001309/0.3657, allocations: 1.572 MB / 388.4 MB, free: 5.426 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002399/0.3659, allocations: 26.33 kB / 388.5 MB, free: 5.414 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.366, allocations: 8.453 kB / 388.5 MB, free: 5.414 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.0001612/0.3661, allocations: 169.1 kB / 388.6 MB, free: 5.273 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.979e-05/0.3662, allocations: 42.17 kB / 388.7 MB, free: 5.254 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.861e-05/0.3663, allocations: 40.97 kB / 388.7 MB, free: 5.23 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-06/0.3663, allocations: 2.438 kB / 388.7 MB, free: 5.23 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.3663, allocations: 4.688 kB / 388.7 MB, free: 5.227 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004612/0.3668, allocations: 0.583 MB / 389.3 MB, free: 4.641 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009185/0.3677, allocations: 0.7049 MB / 390 MB, free: 4.156 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3677, allocations: 0.6094 kB / 390 MB, free: 4.156 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002127/0.3679, allocations: 51.42 kB / 390.1 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.3679, allocations: 4.25 kB / 390.1 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.368, allocations: 2.734 kB / 390.1 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.368, allocations: 1.438 kB / 390.1 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.368, allocations: 0 / 390.1 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005723/0.3686, allocations: 404.8 kB / 390.5 MB, free: 3.906 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/0.3687, allocations: 141.1 kB / 390.6 MB, free: 3.773 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.584e-05/0.3688, allocations: 7.469 kB / 390.6 MB, free: 3.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.369, allocations: 15.55 kB / 390.6 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.736e-05/0.3691, allocations: 15.25 kB / 390.6 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.45e-05/0.3691, allocations: 10.31 kB / 390.7 MB, free: 3.758 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003471/0.3695, allocations: 312.2 kB / 391 MB, free: 3.609 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3695, allocations: 4 kB / 391 MB, free: 3.605 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004418/0.3699, allocations: 84.39 kB / 391 MB, free: 3.598 MB / 318.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.0009327/0.3709, allocations: 418.2 kB / 391.5 MB, free: 3.266 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005981/0.3715, allocations: 323.5 kB / 391.8 MB, free: 3.086 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.3715, allocations: 1.344 kB / 391.8 MB, free: 3.086 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001554/0.3716, allocations: 82.98 kB / 391.9 MB, free: 3.062 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006756/0.3723, allocations: 115.3 kB / 392 MB, free: 3.008 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.3737, allocations: 0.7801 MB / 392.7 MB, free: 2.562 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.374, allocations: 0.8027 MB / 393.5 MB, free: 1.852 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001858/0.3742, allocations: 44.22 kB / 393.6 MB, free: 1.84 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.54e-05/0.3743, allocations: 36.64 kB / 393.6 MB, free: 1.832 MB / 318.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3743, allocations: 0 / 393.6 MB, free: 1.832 MB / 318.1 MB Notification: Performance of Templates: time 0.0127/0.387, allocations: 6.136 MB / 399.8 MB, free: 0.6914 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile (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) 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) Reference file matches