Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001066/0.001066, allocations: 195.5 kB / 17.38 MB, free: 4.434 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.27/1.27, allocations: 226.5 MB / 244.7 MB, free: 6.465 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007586/0.0007585, allocations: 92.45 kB / 296.7 MB, free: 6.688 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002156/0.0002156, allocations: 8 kB / 356.8 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.2039, allocations: 51.3 MB / 408 MB, free: 27.69 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.002428/0.2063, allocations: 3.172 MB / 411.2 MB, free: 24.51 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.2074, allocations: 0.8983 MB / 412.1 MB, free: 23.61 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/0.2075, allocations: 5.719 kB / 412.1 MB, free: 23.61 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001947/0.2078, allocations: 75.45 kB / 412.2 MB, free: 23.54 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002744/0.208, allocations: 170.1 kB / 412.4 MB, free: 23.37 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001667/0.2082, allocations: 91.89 kB / 412.5 MB, free: 23.28 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000401/0.2086, allocations: 0.6338 MB / 413.1 MB, free: 22.64 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000206/0.2088, allocations: 178.6 kB / 413.3 MB, free: 22.47 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002379/0.2091, allocations: 215.2 kB / 413.5 MB, free: 22.26 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002204/0.2093, allocations: 270.8 kB / 413.7 MB, free: 21.99 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.911e-05/0.2094, allocations: 32 kB / 413.8 MB, free: 21.96 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.045e-05/0.2095, allocations: 44 kB / 413.8 MB, free: 21.92 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.694e-05/0.2096, allocations: 99.58 kB / 413.9 MB, free: 21.82 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000176/0.2097, allocations: 300.4 kB / 414.2 MB, free: 21.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002828/0.21, allocations: 0.5112 MB / 414.7 MB, free: 21.01 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.8e-06/0.21, allocations: 4 kB / 414.7 MB, free: 21 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.21, allocations: 0 / 414.7 MB, free: 21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.2101, allocations: 0 / 414.7 MB, free: 21 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.001101/0.2112, allocations: 0.8078 MB / 415.5 MB, free: 20.14 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.2112, allocations: 8.031 kB / 415.5 MB, free: 20.13 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.945e-05/0.2113, allocations: 72.19 kB / 415.6 MB, free: 20.06 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004898/0.2118, allocations: 434.5 kB / 416 MB, free: 19.59 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001674/0.212, allocations: 90.88 kB / 416.1 MB, free: 19.5 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.862e-05/0.212, allocations: 32.31 kB / 416.1 MB, free: 19.47 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006708/0.2127, allocations: 0.4932 MB / 416.6 MB, free: 18.93 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.2127, allocations: 4 kB / 416.6 MB, free: 18.92 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.609e-05/0.2128, allocations: 16 kB / 416.7 MB, free: 18.91 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.2128, allocations: 8 kB / 416.7 MB, free: 18.9 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007586/0.2136, allocations: 386.3 kB / 417 MB, free: 18.52 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.001525/0.2151, allocations: 1.294 MB / 418.3 MB, free: 17.13 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005937/0.2157, allocations: 407.3 kB / 418.7 MB, free: 16.71 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003707/0.2161, allocations: 200.8 kB / 418.9 MB, free: 16.51 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.971e-05/0.2161, allocations: 15.97 kB / 418.9 MB, free: 16.49 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.2162, allocations: 38.56 kB / 419 MB, free: 16.45 MB / 298.7 MB Notification: Performance of pre-optimization done (n=35): time 1.533e-06/0.2162, allocations: 4 kB / 419 MB, free: 16.44 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.00159/0.2178, allocations: 0.7869 MB / 419.8 MB, free: 15.61 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.2179, allocations: 448.9 kB / 420.2 MB, free: 15.06 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004151/0.2183, allocations: 450 kB / 420.7 MB, free: 14.61 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.276e-05/0.2184, allocations: 37.7 kB / 420.7 MB, free: 14.57 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.2185, allocations: 240.4 kB / 420.9 MB, free: 14.33 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.637e-05/0.2186, allocations: 122.2 kB / 421 MB, free: 14.21 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.098e-05/0.2186, allocations: 8 kB / 421.1 MB, free: 14.2 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.92e-05/0.2187, allocations: 362.7 kB / 421.4 MB, free: 13.84 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003562/0.2191, allocations: 159.9 kB / 421.6 MB, free: 13.68 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004112/0.2195, allocations: 314.4 kB / 421.9 MB, free: 13.32 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006805/0.2202, allocations: 377.2 kB / 422.2 MB, free: 12.94 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.2202, allocations: 0 / 422.2 MB, free: 12.94 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008638/0.2211, allocations: 0.5252 MB / 422.8 MB, free: 12.39 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/0.2211, allocations: 29.7 kB / 422.8 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.2211, allocations: 4 kB / 422.8 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001474/0.2213, allocations: 45.69 kB / 422.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003856/0.2217, allocations: 99.88 kB / 422.9 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001497/0.2232, allocations: 2.736 MB / 425.7 MB, free: 9.203 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003873/0.2236, allocations: 71.75 kB / 425.7 MB, free: 9.133 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.546e-05/0.2236, allocations: 8 kB / 425.8 MB, free: 9.125 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.000161/0.2238, allocations: 170.4 kB / 425.9 MB, free: 8.949 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.789e-05/0.2239, allocations: 59.28 kB / 426 MB, free: 8.891 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.911e-05/0.2239, allocations: 60.75 kB / 426 MB, free: 8.832 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.2239, allocations: 8 kB / 426 MB, free: 8.824 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.224, allocations: 0 / 426 MB, free: 8.824 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007854/0.2247, allocations: 0.775 MB / 426.8 MB, free: 7.945 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001317/0.2261, allocations: 1.059 MB / 427.9 MB, free: 6.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2261, allocations: 0 / 427.9 MB, free: 6.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003995/0.2265, allocations: 99.88 kB / 428 MB, free: 6.723 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.2265, allocations: 4 kB / 428 MB, free: 6.719 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/0.2265, allocations: 4 kB / 428 MB, free: 6.715 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.2265, allocations: 7.984 kB / 428 MB, free: 6.707 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2265, allocations: 0 / 428 MB, free: 6.707 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.2277, allocations: 0.7175 MB / 428.7 MB, free: 5.973 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.2278, allocations: 168.4 kB / 428.9 MB, free: 5.789 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.716e-05/0.2279, allocations: 8 kB / 428.9 MB, free: 5.781 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003481/0.2282, allocations: 43.95 kB / 428.9 MB, free: 5.738 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.932e-05/0.2283, allocations: 28.03 kB / 429 MB, free: 5.711 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.2283, allocations: 4 kB / 429 MB, free: 5.707 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002652/0.2286, allocations: 327.1 kB / 429.3 MB, free: 5.391 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2286, allocations: 0 / 429.3 MB, free: 5.391 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003633/0.229, allocations: 139.8 kB / 429.4 MB, free: 5.254 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 9.798e-05/0.2291, allocations: 111.1 kB / 429.5 MB, free: 5.137 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001001/0.2301, allocations: 0.6722 MB / 430.2 MB, free: 4.426 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.2301, allocations: 4 kB / 430.2 MB, free: 4.422 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003633/0.2305, allocations: 199.8 kB / 430.4 MB, free: 4.227 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006238/0.2311, allocations: 142.6 kB / 430.5 MB, free: 4.09 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.2323, allocations: 1.133 MB / 431.7 MB, free: 2.93 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002079/0.2325, allocations: 0.8278 MB / 432.5 MB, free: 2.074 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.2327, allocations: 43.38 kB / 432.5 MB, free: 2.031 MB / 298.7 MB Notification: Performance of SimCode: time 4e-07/0.2327, allocations: 4 kB / 432.5 MB, free: 2.027 MB / 298.7 MB Notification: Performance of Templates: time 0.009853/0.2425, allocations: 8.816 MB / 441.4 MB, free: 9.281 MB / 314.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile (rm -f Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","../files/Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches