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.001042/0.001042, allocations: 177.5 kB / 16.41 MB, free: 5.707 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.391/1.391, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.0007925/0.0007927, allocations: 91.81 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002969/0.0002969, allocations: 11.98 kB / 327 MB, free: 192 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.24, allocations: 47.57 MB / 374.5 MB, free: 45.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.002958/0.243, allocations: 3.162 MB / 377.7 MB, free: 42.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.2443, allocations: 0.9035 MB / 378.6 MB, free: 42.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001924/0.2445, allocations: 8.094 kB / 378.6 MB, free: 42.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002236/0.2447, allocations: 73.2 kB / 378.7 MB, free: 42.1 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003021/0.245, allocations: 176.6 kB / 378.9 MB, free: 41.95 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002028/0.2453, allocations: 96.2 kB / 379 MB, free: 41.87 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005475/0.2458, allocations: 0.6008 MB / 379.6 MB, free: 41.5 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002464/0.2461, allocations: 159 kB / 379.7 MB, free: 41.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002448/0.2463, allocations: 223.6 kB / 379.9 MB, free: 41.29 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002687/0.2466, allocations: 260.1 kB / 380.2 MB, free: 41.12 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.849e-05/0.2467, allocations: 35.59 kB / 380.2 MB, free: 41.12 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.948e-05/0.2468, allocations: 36.31 kB / 380.3 MB, free: 41.12 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.909e-05/0.2469, allocations: 105.8 kB / 380.4 MB, free: 41.03 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.247, allocations: 129.4 kB / 380.5 MB, free: 40.95 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003898/0.2474, allocations: 0.5018 MB / 381 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.2474, allocations: 1.094 kB / 381 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.986e-06/0.2474, allocations: 0 / 381 MB, free: 40.57 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.746e-06/0.2474, allocations: 3.938 kB / 381 MB, free: 40.57 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.001293/0.2487, allocations: 0.814 MB / 381.8 MB, free: 39.89 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.2488, allocations: 12.91 kB / 381.8 MB, free: 39.89 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.2489, allocations: 69.42 kB / 381.9 MB, free: 39.85 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005755/0.2495, allocations: 418.8 kB / 382.3 MB, free: 39.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001927/0.2497, allocations: 86.89 kB / 382.4 MB, free: 39.44 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.626e-05/0.2498, allocations: 36.69 kB / 382.4 MB, free: 39.43 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008181/0.2506, allocations: 0.4929 MB / 382.9 MB, free: 39.06 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.2506, allocations: 1.5 kB / 382.9 MB, free: 39.06 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.103e-05/0.2507, allocations: 24.33 kB / 382.9 MB, free: 39.04 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.2507, allocations: 6.938 kB / 382.9 MB, free: 39.04 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008882/0.2516, allocations: 384.1 kB / 383.3 MB, free: 38.87 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.2535, allocations: 1.292 MB / 384.6 MB, free: 37.8 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007306/0.2542, allocations: 410.2 kB / 385 MB, free: 37.54 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004452/0.2547, allocations: 204.7 kB / 385.2 MB, free: 37.44 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.601e-05/0.2547, allocations: 8.156 kB / 385.2 MB, free: 37.44 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.2548, allocations: 43.66 kB / 385.3 MB, free: 37.39 MB / 298.7 MB Notification: Performance of pre-optimization done (n=35): time 2.484e-06/0.2548, allocations: 0 / 385.3 MB, free: 37.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.001664/0.2564, allocations: 0.7869 MB / 386 MB, free: 36.89 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.691e-05/0.2565, allocations: 446.9 kB / 386.5 MB, free: 36.36 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000425/0.257, allocations: 448.7 kB / 386.9 MB, free: 35.99 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.066e-05/0.257, allocations: 37.7 kB / 387 MB, free: 35.95 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.2571, allocations: 244.4 kB / 387.2 MB, free: 35.71 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.599e-05/0.2572, allocations: 122.2 kB / 387.3 MB, free: 35.59 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.659e-05/0.2572, allocations: 4 kB / 387.3 MB, free: 35.58 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.05e-05/0.2573, allocations: 362.7 kB / 387.7 MB, free: 35.22 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000369/0.2577, allocations: 167.8 kB / 387.8 MB, free: 35.05 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004426/0.2581, allocations: 306.6 kB / 388.1 MB, free: 34.7 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003859/0.2585, allocations: 207.2 kB / 388.3 MB, free: 34.49 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.2585, allocations: 0 / 388.3 MB, free: 34.49 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009267/0.2595, allocations: 0.5139 MB / 388.9 MB, free: 33.96 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.158e-05/0.2595, allocations: 36.67 kB / 388.9 MB, free: 33.92 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.2595, allocations: 4 kB / 388.9 MB, free: 33.92 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001425/0.2597, allocations: 41.7 kB / 388.9 MB, free: 33.87 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003944/0.2601, allocations: 107.8 kB / 389 MB, free: 33.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001557/0.2616, allocations: 2.74 MB / 391.8 MB, free: 30.76 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004742/0.2621, allocations: 75.64 kB / 391.9 MB, free: 30.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.593e-05/0.2622, allocations: 8 kB / 391.9 MB, free: 30.68 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.0001702/0.2623, allocations: 169.8 kB / 392 MB, free: 30.5 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.266e-05/0.2624, allocations: 51.44 kB / 392.1 MB, free: 30.45 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.771e-05/0.2625, allocations: 56.75 kB / 392.1 MB, free: 30.39 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.2625, allocations: 4 kB / 392.1 MB, free: 30.39 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.2625, allocations: 0 / 392.1 MB, free: 30.39 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008377/0.2634, allocations: 0.7713 MB / 392.9 MB, free: 29.52 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001432/0.2648, allocations: 1.064 MB / 394 MB, free: 28.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.2648, allocations: 0 / 394 MB, free: 28.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004262/0.2653, allocations: 99.81 kB / 394.1 MB, free: 28.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.2653, allocations: 11.92 kB / 394.1 MB, free: 28.28 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.2653, allocations: 4 kB / 394.1 MB, free: 28.28 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.2653, allocations: 7.953 kB / 394.1 MB, free: 28.27 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2653, allocations: 4 kB / 394.1 MB, free: 28.27 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.2665, allocations: 0.7132 MB / 394.8 MB, free: 27.54 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001516/0.2667, allocations: 164.5 kB / 395 MB, free: 27.36 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.94e-05/0.2667, allocations: 8 kB / 395 MB, free: 27.35 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003808/0.2671, allocations: 44.03 kB / 395 MB, free: 27.3 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.296e-05/0.2672, allocations: 35.84 kB / 395.1 MB, free: 27.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.2672, allocations: 4 kB / 395.1 MB, free: 27.27 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002964/0.2675, allocations: 323.1 kB / 395.4 MB, free: 26.95 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.2675, allocations: 0 / 395.4 MB, free: 26.95 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003908/0.2679, allocations: 135.8 kB / 395.5 MB, free: 26.82 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.0001118/0.2681, allocations: 111.1 kB / 395.6 MB, free: 26.7 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001071/0.2691, allocations: 0.6882 MB / 396.3 MB, free: 25.97 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.2691, allocations: 4 kB / 396.3 MB, free: 25.97 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003816/0.2695, allocations: 195.8 kB / 396.5 MB, free: 25.78 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006682/0.2702, allocations: 138 kB / 396.6 MB, free: 25.64 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.2716, allocations: 1.147 MB / 397.8 MB, free: 24.46 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001981/0.2718, allocations: 0.8275 MB / 398.6 MB, free: 23.61 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.272, allocations: 43.44 kB / 398.7 MB, free: 23.57 MB / 298.7 MB Notification: Performance of SimCode: time 1.112e-06/0.272, allocations: 0 / 398.7 MB, free: 23.57 MB / 298.7 MB Notification: Performance of Templates: time 0.008605/0.2806, allocations: 8.829 MB / 407.5 MB, free: 14.75 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