Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.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.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 109.3 kB / 17.73 MB, free: 5.32 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.001288/0.001288, allocations: 188.2 kB / 18.66 MB, free: 4.395 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.511/1.511, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001401/0.001401, allocations: 55.92 kB / 328.5 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09888/0.1003, allocations: 46.61 MB / 375.1 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.004815/0.1051, allocations: 3.74 MB / 378.9 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1892/0.2944, allocations: 1.038 MB / 379.9 MB, free: 10.31 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006491/0.2951, allocations: 5.188 kB / 379.9 MB, free: 10.31 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005217/0.2957, allocations: 114.3 kB / 380 MB, free: 10.31 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008559/0.2965, allocations: 201 kB / 380.2 MB, free: 10.31 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005092/0.297, allocations: 140.6 kB / 380.4 MB, free: 10.3 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001108/0.2982, allocations: 0.7045 MB / 381.1 MB, free: 10.14 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003707/0.2986, allocations: 206 kB / 381.3 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007285/0.2993, allocations: 271.3 kB / 381.5 MB, free: 10.06 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000595/0.2999, allocations: 304.8 kB / 381.8 MB, free: 9.996 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001858/0.3001, allocations: 59.25 kB / 381.9 MB, free: 9.996 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002714/0.3004, allocations: 60.38 kB / 381.9 MB, free: 9.996 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00017/0.3006, allocations: 133 kB / 382.1 MB, free: 9.973 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005355/0.3011, allocations: 322.1 kB / 382.4 MB, free: 9.887 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001346/0.3024, allocations: 0.7169 MB / 383.1 MB, free: 9.641 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.3025, allocations: 0 / 383.1 MB, free: 9.641 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.3025, allocations: 4 kB / 383.1 MB, free: 9.637 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.323e-05/0.3025, allocations: 0 / 383.1 MB, free: 9.637 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.002173/0.3047, allocations: 0.9177 MB / 384 MB, free: 8.953 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.3047, allocations: 13.69 kB / 384 MB, free: 8.949 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/0.3049, allocations: 67.81 kB / 384.1 MB, free: 8.918 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008344/0.3057, allocations: 438.4 kB / 384.5 MB, free: 8.594 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.535e-05/0.3059, allocations: 60.53 kB / 384.6 MB, free: 8.547 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.803e-05/0.3059, allocations: 35.94 kB / 384.6 MB, free: 8.535 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009093/0.3068, allocations: 0.5007 MB / 385.1 MB, free: 8.223 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.3069, allocations: 0.7031 kB / 385.1 MB, free: 8.223 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.374e-05/0.3069, allocations: 17.59 kB / 385.1 MB, free: 8.211 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.3069, allocations: 7.219 kB / 385.2 MB, free: 8.211 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008895/0.3078, allocations: 351.8 kB / 385.5 MB, free: 8.105 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.002195/0.31, allocations: 1.346 MB / 386.8 MB, free: 7.25 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008817/0.3109, allocations: 457.8 kB / 387.3 MB, free: 7.012 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004119/0.3113, allocations: 190.8 kB / 387.5 MB, free: 6.941 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.744e-05/0.3114, allocations: 9.406 kB / 387.5 MB, free: 6.941 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.3114, allocations: 43.11 kB / 387.5 MB, free: 6.895 MB / 318.1 MB Notification: Performance of pre-optimization done (n=37): time 1.603e-06/0.3114, allocations: 0 / 387.5 MB, free: 6.895 MB / 318.1 MB Notification: Performance of matching and sorting (n=37): time 0.001618/0.3131, allocations: 0.7369 MB / 388.3 MB, free: 6.477 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.459e-05/0.3132, allocations: 453.5 kB / 388.7 MB, free: 5.938 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005356/0.3137, allocations: 480.2 kB / 389.2 MB, free: 5.703 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.244e-05/0.3138, allocations: 37.98 kB / 389.2 MB, free: 5.664 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.3139, allocations: 237.8 kB / 389.4 MB, free: 5.473 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.633e-05/0.314, allocations: 130 kB / 389.6 MB, free: 5.371 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.3141, allocations: 82.08 kB / 389.7 MB, free: 5.324 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.849e-05/0.3142, allocations: 361.1 kB / 390 MB, free: 4.988 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003909/0.3146, allocations: 144.9 kB / 390.1 MB, free: 4.941 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004756/0.3151, allocations: 294.9 kB / 390.4 MB, free: 4.73 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007395/0.3159, allocations: 346.5 kB / 390.8 MB, free: 4.566 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3159, allocations: 4 kB / 390.8 MB, free: 4.562 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009832/0.3169, allocations: 499.7 kB / 391.3 MB, free: 4.328 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.005e-05/0.3169, allocations: 31.36 kB / 391.3 MB, free: 4.297 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.3169, allocations: 5.719 kB / 391.3 MB, free: 4.293 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001561/0.3171, allocations: 54.64 kB / 391.4 MB, free: 4.262 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004131/0.3175, allocations: 84.61 kB / 391.4 MB, free: 4.258 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001849/0.3194, allocations: 2.97 MB / 394.4 MB, free: 1.336 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004648/0.3198, allocations: 52.94 kB / 394.5 MB, free: 1.312 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.119e-05/0.3199, allocations: 9.125 kB / 394.5 MB, free: 1.312 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001909/0.3201, allocations: 178 kB / 394.6 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.782e-05/0.3202, allocations: 54.03 kB / 394.7 MB, free: 1.129 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.908e-05/0.3203, allocations: 63.53 kB / 394.8 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.3203, allocations: 7.078 kB / 394.8 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.3203, allocations: 5.281 kB / 394.8 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008554/0.3212, allocations: 0.7385 MB / 395.5 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001741/0.3229, allocations: 1.035 MB / 396.5 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.323, allocations: 1.781 kB / 396.5 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004613/0.3234, allocations: 100.5 kB / 396.6 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.3234, allocations: 1.188 kB / 396.6 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.691e-05/0.3235, allocations: 7.672 kB / 396.7 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.3235, allocations: 1.156 kB / 396.7 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3235, allocations: 1.031 kB / 396.7 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/0.3249, allocations: 0.6721 MB / 397.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002392/0.3251, allocations: 172.7 kB / 397.5 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.44e-05/0.3252, allocations: 8.703 kB / 397.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003972/0.3256, allocations: 26.75 kB / 397.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.404e-05/0.3257, allocations: 28.27 kB / 397.6 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.276e-05/0.3257, allocations: 15.11 kB / 397.6 MB, free: 15.3 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004535/0.3262, allocations: 342.3 kB / 397.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3262, allocations: 0 / 397.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005493/0.3268, allocations: 146 kB / 398 MB, free: 15.11 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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.0001834/0.327, allocations: 109.7 kB / 398.2 MB, free: 15.02 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001455/0.3284, allocations: 0.647 MB / 398.8 MB, free: 14.61 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.3284, allocations: 2.344 kB / 398.8 MB, free: 14.61 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00049/0.3289, allocations: 182.3 kB / 399 MB, free: 14.56 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008427/0.3298, allocations: 150.5 kB / 399.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002161/0.332, allocations: 0.954 MB / 400.1 MB, free: 13.94 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005376/0.3325, allocations: 0.8354 MB / 400.9 MB, free: 13.23 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003311/0.3329, allocations: 65.41 kB / 401 MB, free: 13.21 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.333, allocations: 51.41 kB / 401 MB, free: 13.2 MB / 334.1 MB Notification: Performance of SimCode: time 4e-07/0.333, allocations: 3.938 kB / 401 MB, free: 13.19 MB / 334.1 MB Notification: Performance of Templates: time 0.02086/0.3539, allocations: 9.062 MB / 410.1 MB, free: 9.5 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches