Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001316/0.001316, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001527/0.001527, allocations: 159.4 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9499/0.9499, allocations: 177 MB / 205.9 MB, free: 4.449 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 274.1 MB, free: 4.293 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.518e-05/1.642e-05, allocations: 6.141 kB / 274.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.003342/0.003359, allocations: 3.654 MB / 277.7 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001423/0.004781, allocations: 0.9919 MB / 278.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002041/0.004985, allocations: 11.94 kB / 278.8 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002603/0.005246, allocations: 107.1 kB / 278.9 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003108/0.005557, allocations: 214.1 kB / 279.1 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002466/0.005803, allocations: 135.7 kB / 279.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007679/0.006571, allocations: 0.7077 MB / 279.9 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001846/0.006756, allocations: 130.9 kB / 280 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002873/0.007043, allocations: 399.1 kB / 280.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000208/0.007251, allocations: 215.4 kB / 280.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.679e-05/0.007308, allocations: 56 kB / 280.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.618e-05/0.007364, allocations: 60 kB / 280.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.961e-05/0.007434, allocations: 123.5 kB / 280.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001445/0.007578, allocations: 223.5 kB / 281.1 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003573/0.007935, allocations: 462.3 kB / 281.5 MB, free: 12.83 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.007938, allocations: 0 / 281.5 MB, free: 12.83 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.007939, allocations: 0 / 281.5 MB, free: 12.83 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.007945, allocations: 0 / 281.5 MB, free: 12.83 MB / 266.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.0008678/0.008812, allocations: 0.9253 MB / 282.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/0.008843, allocations: 8.031 kB / 282.5 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.516e-05/0.008938, allocations: 96.56 kB / 282.6 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003174/0.009255, allocations: 330.5 kB / 282.9 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.755e-05/0.009333, allocations: 110.3 kB / 283 MB, free: 11.28 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.506e-05/0.009378, allocations: 40.38 kB / 283 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004862/0.009864, allocations: 0.7899 MB / 283.8 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.009876, allocations: 4.188 kB / 283.8 MB, free: 10.28 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.555e-05/0.009902, allocations: 16.12 kB / 283.8 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.009909, allocations: 8 kB / 283.9 MB, free: 10.26 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000177/0.01009, allocations: 123.1 kB / 284 MB, free: 10.14 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.01113, allocations: 0.8815 MB / 284.9 MB, free: 9.223 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002167/0.01134, allocations: 174.9 kB / 285 MB, free: 9.039 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.225e-05/0.01143, allocations: 79.62 kB / 285.1 MB, free: 8.957 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.01145, allocations: 4 kB / 285.1 MB, free: 8.953 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.01148, allocations: 45.92 kB / 285.2 MB, free: 8.898 MB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 1.633e-06/0.01148, allocations: 4 kB / 285.2 MB, free: 8.895 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.0005192/0.012, allocations: 334.6 kB / 285.5 MB, free: 8.555 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/0.01212, allocations: 449 kB / 285.9 MB, free: 8.012 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002626/0.01238, allocations: 438.5 kB / 286.3 MB, free: 7.566 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002826/0.01267, allocations: 37.7 kB / 286.4 MB, free: 7.523 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.01281, allocations: 307.2 kB / 286.7 MB, free: 7.219 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.591e-05/0.01287, allocations: 122.9 kB / 286.8 MB, free: 7.098 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.777e-05/0.01296, allocations: 87.31 kB / 286.9 MB, free: 7.004 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.0131, allocations: 0.5351 MB / 287.4 MB, free: 6.457 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.308e-05/0.01318, allocations: 65.67 kB / 287.5 MB, free: 6.387 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002599/0.01344, allocations: 0.6224 MB / 288.1 MB, free: 5.594 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001721/0.01361, allocations: 170.9 kB / 288.3 MB, free: 5.414 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.01361, allocations: 0 / 288.3 MB, free: 5.414 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003361/0.01395, allocations: 349.4 kB / 288.6 MB, free: 5.047 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.846e-05/0.01398, allocations: 33.7 kB / 288.7 MB, free: 5.008 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.01398, allocations: 4 kB / 288.7 MB, free: 5.004 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.487e-05/0.01408, allocations: 39.34 kB / 288.7 MB, free: 4.957 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002/0.01428, allocations: 79.89 kB / 288.8 MB, free: 4.879 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001527/0.01581, allocations: 3.524 MB / 292.3 MB, free: 1.121 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001924/0.016, allocations: 43.77 kB / 292.3 MB, free: 1.078 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.01602, allocations: 8 kB / 292.3 MB, free: 1.07 MB / 266.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 (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.000121/0.01614, allocations: 188.6 kB / 292.5 MB, free: 0.875 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.582e-05/0.0162, allocations: 59.72 kB / 292.6 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.279e-05/0.01626, allocations: 52.58 kB / 292.6 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.01626, allocations: 7.938 kB / 292.7 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.01626, allocations: 7.938 kB / 292.7 MB, free: 0.75 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000308/0.01657, allocations: 0.5708 MB / 293.2 MB, free: 76 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009006/0.01747, allocations: 0.6769 MB / 293.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.01747, allocations: 4 kB / 293.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/0.01768, allocations: 79.89 kB / 294 MB, free: 15.28 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.01768, allocations: 3.984 kB / 294 MB, free: 15.27 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.0177, allocations: 11.94 kB / 294 MB, free: 15.26 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.0177, allocations: 0 / 294 MB, free: 15.26 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.0177, allocations: 0 / 294 MB, free: 15.26 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003458/0.01805, allocations: 444.9 kB / 294.4 MB, free: 14.81 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.01816, allocations: 87.61 kB / 294.5 MB, free: 14.72 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.764e-05/0.0182, allocations: 19.95 kB / 294.5 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.01836, allocations: 19.98 kB / 294.6 MB, free: 14.68 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.29e-05/0.01841, allocations: 23.95 kB / 294.6 MB, free: 14.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.01842, allocations: 8 kB / 294.6 MB, free: 14.65 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001533/0.01858, allocations: 287 kB / 294.9 MB, free: 14.37 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01858, allocations: 0 / 294.9 MB, free: 14.37 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002964/0.01887, allocations: 143.8 kB / 295 MB, free: 14.23 MB / 282.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 (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.0001123/0.01898, allocations: 103.2 kB / 295.1 MB, free: 14.12 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004856/0.01947, allocations: 0.61 MB / 295.7 MB, free: 13.45 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.01947, allocations: 0 / 295.7 MB, free: 13.45 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.01958, allocations: 95.78 kB / 295.8 MB, free: 13.36 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004082/0.01998, allocations: 146.8 kB / 296 MB, free: 13.21 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.02121, allocations: 0.8385 MB / 296.8 MB, free: 12.34 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.943e-05/0.02128, allocations: 113.7 kB / 296.9 MB, free: 12.21 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001571/0.02144, allocations: 60.25 kB / 297 MB, free: 12.14 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003514/0.02179, allocations: 274 kB / 297.2 MB, free: 11.88 MB / 282.7 MB Notification: Performance of SimCode: time 7.92e-07/0.02179, allocations: 0 / 297.2 MB, free: 11.88 MB / 282.7 MB Notification: Performance of Templates: time 0.01235/0.03414, allocations: 10.2 MB / 307.4 MB, free: 1.934 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9163647717796266]