Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001322/0.001322, allocations: 175.2 kB / 16.72 MB, free: 4.961 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.483/1.483, allocations: 205.4 MB / 222.9 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007445/0.0007446, allocations: 85.03 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003717, allocations: 16 kB / 327.5 MB, free: 15.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2546, allocations: 47.56 MB / 375.1 MB, free: 45.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.003261/0.258, allocations: 3.167 MB / 378.2 MB, free: 42.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001646/0.2596, allocations: 0.9115 MB / 379.2 MB, free: 42.2 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002642/0.2599, allocations: 5.406 kB / 379.2 MB, free: 42.2 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000258/0.2602, allocations: 71.58 kB / 379.2 MB, free: 42.14 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003931/0.2606, allocations: 178 kB / 379.4 MB, free: 41.99 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002409/0.2609, allocations: 99.72 kB / 379.5 MB, free: 41.91 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006624/0.2615, allocations: 0.6216 MB / 380.1 MB, free: 41.53 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002887/0.2618, allocations: 174.8 kB / 380.3 MB, free: 41.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000268/0.2621, allocations: 222.6 kB / 380.5 MB, free: 41.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00028/0.2624, allocations: 259.8 kB / 380.8 MB, free: 41.14 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.571e-05/0.2625, allocations: 35.94 kB / 380.8 MB, free: 41.14 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.819e-05/0.2626, allocations: 36.28 kB / 380.8 MB, free: 41.14 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.336e-05/0.2627, allocations: 105.9 kB / 380.9 MB, free: 41.05 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002727/0.263, allocations: 299.7 kB / 381.2 MB, free: 40.85 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004037/0.2634, allocations: 0.5065 MB / 381.7 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.2634, allocations: 0 / 381.7 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2634, allocations: 0 / 381.7 MB, free: 40.47 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.225e-06/0.2634, allocations: 0 / 381.7 MB, free: 40.47 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001366/0.2648, allocations: 0.8056 MB / 382.5 MB, free: 39.79 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.2648, allocations: 12.38 kB / 382.6 MB, free: 39.79 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001269/0.265, allocations: 70.39 kB / 382.6 MB, free: 39.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006289/0.2656, allocations: 432.5 kB / 383 MB, free: 39.38 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002019/0.2658, allocations: 89.56 kB / 383.1 MB, free: 39.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.357e-05/0.2659, allocations: 33.81 kB / 383.2 MB, free: 39.31 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008402/0.2667, allocations: 0.4971 MB / 383.7 MB, free: 38.94 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.2668, allocations: 1.531 kB / 383.7 MB, free: 38.94 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.975e-05/0.2668, allocations: 12.19 kB / 383.7 MB, free: 38.93 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.2668, allocations: 7.344 kB / 383.7 MB, free: 38.93 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009805/0.2678, allocations: 395 kB / 384.1 MB, free: 38.75 MB / 298.7 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.001898/0.2697, allocations: 1.297 MB / 385.4 MB, free: 37.68 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007367/0.2705, allocations: 410 kB / 385.8 MB, free: 37.42 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004547/0.2709, allocations: 204.8 kB / 386 MB, free: 37.32 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.616e-05/0.271, allocations: 9.047 kB / 386 MB, free: 37.32 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.271, allocations: 37.75 kB / 386 MB, free: 37.28 MB / 298.7 MB Notification: Performance of pre-optimization done (n=35): time 3.306e-06/0.271, allocations: 4.812 kB / 386 MB, free: 37.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.001707/0.2727, allocations: 0.7874 MB / 386.8 MB, free: 36.62 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/0.2729, allocations: 452.9 kB / 387.3 MB, free: 36.07 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004689/0.2734, allocations: 453.9 kB / 387.7 MB, free: 35.62 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.392e-05/0.2734, allocations: 33.7 kB / 387.7 MB, free: 35.58 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.2735, allocations: 236.4 kB / 388 MB, free: 35.34 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.707e-05/0.2736, allocations: 122.3 kB / 388.1 MB, free: 35.22 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.031e-05/0.2736, allocations: 8 kB / 388.1 MB, free: 35.21 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.384e-05/0.2737, allocations: 366.7 kB / 388.4 MB, free: 34.85 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003596/0.2741, allocations: 155.9 kB / 388.6 MB, free: 34.7 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004359/0.2745, allocations: 310.5 kB / 388.9 MB, free: 34.34 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007126/0.2753, allocations: 381.2 kB / 389.3 MB, free: 33.95 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2753, allocations: 4 kB / 389.3 MB, free: 33.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009579/0.2762, allocations: 0.5173 MB / 389.8 MB, free: 33.41 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.316e-05/0.2763, allocations: 33.7 kB / 389.8 MB, free: 33.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.2763, allocations: 0 / 389.8 MB, free: 33.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000165/0.2765, allocations: 53.69 kB / 389.9 MB, free: 33.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004013/0.2769, allocations: 99.86 kB / 390 MB, free: 33.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001667/0.2786, allocations: 2.748 MB / 392.7 MB, free: 30.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005445/0.2791, allocations: 67.69 kB / 392.8 MB, free: 30.13 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.926e-05/0.2791, allocations: 12 kB / 392.8 MB, free: 30.12 MB / 298.7 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 (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002262/0.2794, allocations: 173.7 kB / 393 MB, free: 29.94 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.061e-05/0.2795, allocations: 63.27 kB / 393 MB, free: 29.88 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.492e-05/0.2796, allocations: 48.77 kB / 393.1 MB, free: 29.83 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.2796, allocations: 8 kB / 393.1 MB, free: 29.82 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2796, allocations: 0 / 393.1 MB, free: 29.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008794/0.2805, allocations: 0.7672 MB / 393.9 MB, free: 28.95 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001445/0.2819, allocations: 1.064 MB / 394.9 MB, free: 27.83 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.2819, allocations: 0 / 394.9 MB, free: 27.83 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004124/0.2824, allocations: 103.8 kB / 395 MB, free: 27.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.2824, allocations: 0 / 395 MB, free: 27.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.545e-05/0.2824, allocations: 11.98 kB / 395 MB, free: 27.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.2824, allocations: 0 / 395 MB, free: 27.71 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2824, allocations: 0 / 395 MB, free: 27.71 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.2836, allocations: 0.7216 MB / 395.8 MB, free: 26.98 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001996/0.2838, allocations: 164.5 kB / 395.9 MB, free: 26.8 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.122e-05/0.2839, allocations: 8 kB / 395.9 MB, free: 26.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003586/0.2842, allocations: 43.95 kB / 396 MB, free: 26.75 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.54e-05/0.2843, allocations: 24.2 kB / 396 MB, free: 26.72 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.2843, allocations: 16.06 kB / 396 MB, free: 26.71 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003007/0.2846, allocations: 323.1 kB / 396.3 MB, free: 26.39 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2847, allocations: 0 / 396.3 MB, free: 26.39 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004364/0.2851, allocations: 147.6 kB / 396.5 MB, free: 26.25 MB / 298.7 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 (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001248/0.2852, allocations: 111.1 kB / 396.6 MB, free: 26.13 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0011/0.2863, allocations: 0.6774 MB / 397.2 MB, free: 25.41 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2863, allocations: 0 / 397.2 MB, free: 25.41 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003785/0.2867, allocations: 203.8 kB / 397.4 MB, free: 25.21 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007113/0.2875, allocations: 125.8 kB / 397.6 MB, free: 25.09 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.2889, allocations: 1.149 MB / 398.7 MB, free: 23.91 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002108/0.2891, allocations: 0.8314 MB / 399.6 MB, free: 23.05 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.2893, allocations: 43.42 kB / 399.6 MB, free: 23.01 MB / 298.7 MB Notification: Performance of SimCode: time 5.21e-07/0.2893, allocations: 3.938 kB / 399.6 MB, free: 23.01 MB / 298.7 MB Notification: Performance of Templates: time 0.009671/0.2989, allocations: 8.83 MB / 408.4 MB, free: 14.2 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches