Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007757/0.0007757, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01088/0.01165, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009045/0.0009045, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003944/0.004849, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9441/0.9441, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07507/1.019, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 244.7 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.357e-06/1.082e-05, allocations: 2.312 kB / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.003137/0.003148, allocations: 3.726 MB / 248.4 MB, free: 10.5 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009764/0.004124, allocations: 1.032 MB / 249.5 MB, free: 9.457 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.004242, allocations: 7.938 kB / 249.5 MB, free: 9.449 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000172/0.004414, allocations: 115 kB / 249.6 MB, free: 9.336 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002264/0.00464, allocations: 214.2 kB / 249.8 MB, free: 9.125 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001658/0.004806, allocations: 135.7 kB / 249.9 MB, free: 8.992 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004673/0.005273, allocations: 0.7078 MB / 250.6 MB, free: 8.281 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001594/0.005433, allocations: 136.8 kB / 250.8 MB, free: 8.145 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003491/0.005782, allocations: 485.9 kB / 251.2 MB, free: 7.668 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002015/0.005983, allocations: 211.4 kB / 251.4 MB, free: 7.461 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.615e-05/0.006049, allocations: 60 kB / 251.5 MB, free: 7.402 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.316e-05/0.006113, allocations: 56 kB / 251.5 MB, free: 7.348 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.959e-05/0.006172, allocations: 87.69 kB / 251.6 MB, free: 7.262 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.006301, allocations: 179.7 kB / 251.8 MB, free: 7.086 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003311/0.006632, allocations: 414.5 kB / 252.2 MB, free: 6.68 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.757e-06/0.006641, allocations: 0 / 252.2 MB, free: 6.68 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.006641, allocations: 0 / 252.2 MB, free: 6.68 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.928e-06/0.006651, allocations: 0 / 252.2 MB, free: 6.68 MB / 250.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.0008497/0.007501, allocations: 0.9018 MB / 253.1 MB, free: 5.746 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.638e-05/0.007527, allocations: 12.03 kB / 253.1 MB, free: 5.734 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.809e-05/0.007605, allocations: 64.88 kB / 253.2 MB, free: 5.672 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002869/0.007892, allocations: 291.7 kB / 253.5 MB, free: 5.363 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003048/0.008197, allocations: 110.3 kB / 253.6 MB, free: 5.238 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.442e-05/0.008242, allocations: 40.38 kB / 253.6 MB, free: 5.199 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004174/0.008659, allocations: 0.7457 MB / 254.4 MB, free: 4.301 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.00867, allocations: 192 / 254.4 MB, free: 4.301 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.268e-05/0.008692, allocations: 24.12 kB / 254.4 MB, free: 4.277 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.008701, allocations: 8 kB / 254.4 MB, free: 4.27 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001481/0.008849, allocations: 99.16 kB / 254.5 MB, free: 4.172 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008551/0.009704, allocations: 0.6751 MB / 255.2 MB, free: 3.473 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.009879, allocations: 138.5 kB / 255.3 MB, free: 3.328 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.854e-05/0.009948, allocations: 65.42 kB / 255.4 MB, free: 3.262 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.009973, allocations: 4 kB / 255.4 MB, free: 3.258 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.009996, allocations: 46.42 kB / 255.4 MB, free: 3.203 MB / 250.7 MB Notification: Performance of pre-optimization done (n=35): time 1.142e-06/0.009997, allocations: 0 / 255.4 MB, free: 3.203 MB / 250.7 MB Notification: Performance of matching and sorting (n=35): time 0.0004072/0.0104, allocations: 273.2 kB / 255.7 MB, free: 2.926 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.212e-05/0.01043, allocations: 55.41 kB / 255.7 MB, free: 2.859 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.01063, allocations: 363.3 kB / 256.1 MB, free: 2.488 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.01065, allocations: 33.7 kB / 256.1 MB, free: 2.449 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.209e-05/0.01073, allocations: 197.5 kB / 256.3 MB, free: 2.25 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.311e-05/0.01079, allocations: 130.8 kB / 256.5 MB, free: 2.121 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.425e-05/0.01087, allocations: 73.45 kB / 256.5 MB, free: 2.043 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.32e-05/0.01096, allocations: 362.7 kB / 256.9 MB, free: 1.68 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.535e-05/0.01103, allocations: 69.69 kB / 256.9 MB, free: 1.605 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002207/0.01125, allocations: 0.5707 MB / 257.5 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.01139, allocations: 161.2 kB / 257.7 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.01139, allocations: 0 / 257.7 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002357/0.01163, allocations: 276.1 kB / 257.9 MB, free: 432 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.01166, allocations: 29.7 kB / 258 MB, free: 396 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.01166, allocations: 4 kB / 258 MB, free: 392 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.784e-05/0.01174, allocations: 37.64 kB / 258 MB, free: 348 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002544/0.01199, allocations: 95.95 kB / 258.1 MB, free: 252 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001332/0.01332, allocations: 2.411 MB / 260.5 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.01348, allocations: 43.77 kB / 260.6 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.0135, allocations: 19.94 kB / 260.6 MB, free: 13.6 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 9.37e-05/0.01359, allocations: 129.8 kB / 260.7 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.879e-05/0.01364, allocations: 47.95 kB / 260.8 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.86e-05/0.01369, allocations: 52.58 kB / 260.8 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.01369, allocations: 7.938 kB / 260.8 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.01369, allocations: 0 / 260.8 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002556/0.01395, allocations: 0.536 MB / 261.3 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005035/0.01445, allocations: 0.5259 MB / 261.9 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.01445, allocations: 4 kB / 261.9 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002476/0.0147, allocations: 112.5 kB / 262 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.08e-05/0.01478, allocations: 51.59 kB / 262 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.01478, allocations: 4 kB / 262 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.01479, allocations: 4 kB / 262 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.0148, allocations: 7.984 kB / 262.1 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.0148, allocations: 0 / 262.1 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002701/0.01507, allocations: 340.4 kB / 262.4 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.345e-05/0.0151, allocations: 12 kB / 262.4 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.01525, allocations: 24.02 kB / 262.4 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.036e-05/0.01529, allocations: 23.95 kB / 262.4 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.0153, allocations: 8 kB / 262.5 MB, free: 11.56 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001024/0.0154, allocations: 156.7 kB / 262.6 MB, free: 11.41 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0154, allocations: 0 / 262.6 MB, free: 11.41 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002262/0.01563, allocations: 143.8 kB / 262.7 MB, free: 11.27 MB / 266.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 7.498e-05/0.0157, allocations: 92.34 kB / 262.8 MB, free: 11.18 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003738/0.01608, allocations: 494.8 kB / 263.3 MB, free: 10.64 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/0.01609, allocations: 8 kB / 263.3 MB, free: 10.64 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.0162, allocations: 116.8 kB / 263.4 MB, free: 10.52 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006686/0.01687, allocations: 1.405 MB / 264.8 MB, free: 8.832 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005556/0.02242, allocations: 0.8204 MB / 265.7 MB, free: 7.98 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.991e-05/0.02248, allocations: 109.9 kB / 265.8 MB, free: 7.852 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001385/0.02262, allocations: 60.34 kB / 265.8 MB, free: 7.793 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003342/0.02295, allocations: 241.2 kB / 266.1 MB, free: 7.555 MB / 266.7 MB Notification: Performance of SimCode: time 7.31e-07/0.02296, allocations: 3.938 kB / 266.1 MB, free: 7.551 MB / 266.7 MB Notification: Performance of Templates: time 0.01193/0.03488, allocations: 11.24 MB / 277.3 MB, free: 12.57 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6700093410909176]