Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.TwoMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001403/0.001409, allocations: 114.8 kB / 17.74 MB, free: 5.355 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.001648/0.001648, allocations: 188.5 kB / 18.67 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 51.94 kB / 352 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.2412, allocations: 49.43 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.005747/0.2469, allocations: 5.033 MB / 406.4 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002504/0.2495, allocations: 1.285 MB / 407.7 MB, free: 2.523 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005826/0.2501, allocations: 15.94 kB / 407.7 MB, free: 2.508 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005695/0.2507, allocations: 174.5 kB / 407.9 MB, free: 2.336 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008833/0.2516, allocations: 321.2 kB / 408.2 MB, free: 2.02 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004805/0.2521, allocations: 223.6 kB / 408.4 MB, free: 1.801 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001223/0.2534, allocations: 1.183 MB / 409.6 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004331/0.2538, allocations: 315.3 kB / 409.9 MB, free: 288 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004679/0.2543, allocations: 454.4 kB / 410.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005112/0.2548, allocations: 0.5057 MB / 410.9 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001316/0.2549, allocations: 104 kB / 411 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001675/0.2551, allocations: 108 kB / 411.1 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001581/0.2553, allocations: 219.3 kB / 411.3 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004272/0.2557, allocations: 0.521 MB / 411.8 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001009/0.2567, allocations: 1.195 MB / 413 MB, free: 13.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.2567, allocations: 0 / 413 MB, free: 13.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2568, allocations: 0 / 413 MB, free: 13.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.2568, allocations: 0 / 413 MB, free: 13.18 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.002232/0.259, allocations: 1.347 MB / 414.4 MB, free: 11.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.2591, allocations: 11.89 kB / 414.4 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001736/0.2593, allocations: 119.7 kB / 414.5 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009073/0.2602, allocations: 0.5871 MB / 415.1 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001846/0.2604, allocations: 146.9 kB / 415.2 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.159e-05/0.2605, allocations: 64.03 kB / 415.3 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.2618, allocations: 0.8509 MB / 416.1 MB, free: 9.832 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.2618, allocations: 0 / 416.1 MB, free: 9.832 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.729e-05/0.2619, allocations: 28 kB / 416.2 MB, free: 9.805 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.2619, allocations: 15.98 kB / 416.2 MB, free: 9.789 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001364/0.2633, allocations: 0.5985 MB / 416.8 MB, free: 9.191 MB / 334.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.003268/0.2666, allocations: 2.053 MB / 418.8 MB, free: 7.035 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001405/0.268, allocations: 0.8508 MB / 419.7 MB, free: 6.117 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007761/0.2688, allocations: 390.6 kB / 420.1 MB, free: 5.734 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.221e-05/0.2689, allocations: 8.656 kB / 420.1 MB, free: 5.727 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/0.2689, allocations: 51.22 kB / 420.1 MB, free: 5.668 MB / 334.1 MB Notification: Performance of pre-optimization done (n=73): time 3.987e-06/0.2689, allocations: 3.984 kB / 420.1 MB, free: 5.664 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.005068/0.274, allocations: 1.804 MB / 421.9 MB, free: 3.766 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003362/0.2744, allocations: 0.8195 MB / 422.7 MB, free: 2.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000819/0.2752, allocations: 0.6371 MB / 423.4 MB, free: 2.105 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001039/0.2753, allocations: 41.7 kB / 423.4 MB, free: 2.059 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002575/0.2756, allocations: 345 kB / 423.8 MB, free: 1.719 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002021/0.2758, allocations: 248.2 kB / 424 MB, free: 1.473 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002223/0.276, allocations: 146.7 kB / 424.1 MB, free: 1.324 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.2762, allocations: 382.8 kB / 424.5 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006414/0.2768, allocations: 273.8 kB / 424.8 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008537/0.2777, allocations: 0.5546 MB / 425.3 MB, free: 20 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00132/0.279, allocations: 0.6816 MB / 426 MB, free: 15.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.279, allocations: 4 kB / 426 MB, free: 15.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002626/0.2817, allocations: 1.09 MB / 427.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.893e-05/0.2817, allocations: 89.11 kB / 427.2 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.2817, allocations: 0 / 427.2 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006624/0.2824, allocations: 231.3 kB / 427.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006344/0.2831, allocations: 143.8 kB / 427.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007414/0.2905, allocations: 6.928 MB / 434.5 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009493/0.2915, allocations: 107.2 kB / 434.6 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.356e-05/0.2916, allocations: 24 kB / 434.6 MB, free: 6.078 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (69): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003558/0.2919, allocations: 213.7 kB / 434.8 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.2921, allocations: 90.97 kB / 434.9 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001713/0.2923, allocations: 87.33 kB / 435 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/0.2923, allocations: 8 kB / 435 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.2923, allocations: 4 kB / 435 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002413/0.2947, allocations: 1.237 MB / 436.3 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003705/0.2984, allocations: 1.924 MB / 438.2 MB, free: 2.324 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.2984, allocations: 3.984 kB / 438.2 MB, free: 2.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006812/0.2991, allocations: 139.8 kB / 438.3 MB, free: 2.184 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005424/0.2997, allocations: 198.6 kB / 438.5 MB, free: 1.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.624e-05/0.2997, allocations: 12 kB / 438.5 MB, free: 1.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006269/0.306, allocations: 5.341 MB / 443.9 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3061, allocations: 0 / 443.9 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003329/0.3094, allocations: 1.403 MB / 445.3 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004378/0.3099, allocations: 235.9 kB / 445.5 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/0.31, allocations: 27.92 kB / 445.5 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006506/0.3107, allocations: 43.95 kB / 445.6 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001815/0.3108, allocations: 60.58 kB / 445.6 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.022e-05/0.3109, allocations: 23.98 kB / 445.7 MB, free: 10.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005395/0.3114, allocations: 455.1 kB / 446.1 MB, free: 9.934 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3114, allocations: 0 / 446.1 MB, free: 9.934 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000864/0.3123, allocations: 279.7 kB / 446.4 MB, free: 9.66 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001781/0.3125, allocations: 131.6 kB / 446.5 MB, free: 9.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002225/0.3147, allocations: 1.348 MB / 447.8 MB, free: 8.086 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.3148, allocations: 4 kB / 447.9 MB, free: 8.082 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001375/0.3161, allocations: 0.7653 MB / 448.6 MB, free: 7.277 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.3172, allocations: 243 kB / 448.9 MB, free: 7.039 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002711/0.3199, allocations: 1.629 MB / 450.5 MB, free: 5.379 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004791/0.3204, allocations: 0.9479 MB / 451.4 MB, free: 4.406 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002289/0.3206, allocations: 67.42 kB / 451.5 MB, free: 4.34 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3207, allocations: 0 / 451.5 MB, free: 4.34 MB / 366.1 MB Notification: Performance of Templates: time 0.02517/0.3458, allocations: 22.6 MB / 474.1 MB, free: 13.82 MB / 398.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches