Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008866/0.0008866, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008441/0.0008441, allocations: 142.7 kB / 24.89 MB, free: 8.777 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9259/0.9259, allocations: 173.4 MB / 201.5 MB, free: 8.238 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 268.5 MB, free: 9.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.332e-05/1.465e-05, allocations: 5.266 kB / 268.5 MB, free: 9.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.003091/0.003105, allocations: 3.629 MB / 272.1 MB, free: 6.172 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.004305, allocations: 0.9958 MB / 273.1 MB, free: 5.18 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001443/0.00445, allocations: 15.94 kB / 273.1 MB, free: 5.164 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002383/0.004688, allocations: 107.1 kB / 273.2 MB, free: 5.059 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002797/0.004968, allocations: 214.1 kB / 273.4 MB, free: 4.848 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002059/0.005174, allocations: 135.7 kB / 273.5 MB, free: 4.715 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004976/0.005671, allocations: 0.7039 MB / 274.3 MB, free: 4.008 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001722/0.005843, allocations: 144.7 kB / 274.4 MB, free: 3.855 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002886/0.006132, allocations: 395.1 kB / 274.8 MB, free: 3.469 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002075/0.00634, allocations: 211.4 kB / 275 MB, free: 3.262 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.749e-05/0.006397, allocations: 56 kB / 275 MB, free: 3.207 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.58e-05/0.006453, allocations: 60 kB / 275.1 MB, free: 3.148 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.159e-05/0.006524, allocations: 127.5 kB / 275.2 MB, free: 3.023 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001444/0.006669, allocations: 215.6 kB / 275.4 MB, free: 2.812 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003468/0.007016, allocations: 458.4 kB / 275.9 MB, free: 2.363 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.007018, allocations: 4 kB / 275.9 MB, free: 2.359 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.007018, allocations: 0 / 275.9 MB, free: 2.359 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.007024, allocations: 0 / 275.9 MB, free: 2.359 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.0007996/0.007823, allocations: 0.7772 MB / 276.7 MB, free: 1.551 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.97e-05/0.007853, allocations: 12.03 kB / 276.7 MB, free: 1.539 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.889e-05/0.007932, allocations: 72.88 kB / 276.7 MB, free: 1.469 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002975/0.008229, allocations: 291.6 kB / 277 MB, free: 1.156 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.805e-05/0.008307, allocations: 110.3 kB / 277.1 MB, free: 1.031 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.429e-05/0.008352, allocations: 40.38 kB / 277.2 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004255/0.008777, allocations: 0.7536 MB / 277.9 MB, free: 92 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.008788, allocations: 4.188 kB / 277.9 MB, free: 88 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/0.008811, allocations: 16.12 kB / 278 MB, free: 72 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.008818, allocations: 8 kB / 278 MB, free: 64 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001598/0.008977, allocations: 103.2 kB / 278.1 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008766/0.009854, allocations: 0.6556 MB / 278.7 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/0.01004, allocations: 138.4 kB / 278.9 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.199e-05/0.01011, allocations: 73.7 kB / 278.9 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.01014, allocations: 8.594 kB / 278.9 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.01016, allocations: 38.56 kB / 279 MB, free: 15.01 MB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 1.673e-06/0.01016, allocations: 0 / 279 MB, free: 15.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.0004112/0.01057, allocations: 270.7 kB / 279.2 MB, free: 14.73 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.01069, allocations: 449 kB / 279.7 MB, free: 14.19 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/0.01089, allocations: 359.3 kB / 280 MB, free: 13.83 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.01091, allocations: 37.7 kB / 280.1 MB, free: 13.79 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.728e-05/0.011, allocations: 193.5 kB / 280.2 MB, free: 13.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.076e-05/0.01106, allocations: 130.8 kB / 280.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.815e-05/0.01114, allocations: 73.66 kB / 280.4 MB, free: 13.39 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.573e-05/0.01122, allocations: 358.7 kB / 280.8 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.596e-05/0.01129, allocations: 65.47 kB / 280.9 MB, free: 12.96 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000221/0.01151, allocations: 0.5721 MB / 281.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.01166, allocations: 161.2 kB / 281.6 MB, free: 12.06 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.01166, allocations: 0 / 281.6 MB, free: 12.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002446/0.01191, allocations: 280.1 kB / 281.9 MB, free: 11.77 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.01193, allocations: 33.69 kB / 281.9 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.01194, allocations: 0 / 281.9 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.46e-05/0.01202, allocations: 41.64 kB / 281.9 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/0.0122, allocations: 71.95 kB / 282 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001126/0.01332, allocations: 2.423 MB / 284.4 MB, free: 9.012 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.01348, allocations: 43.7 kB / 284.5 MB, free: 8.969 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.0135, allocations: 11.94 kB / 284.5 MB, free: 8.957 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.979e-05/0.0136, allocations: 137.8 kB / 284.6 MB, free: 8.812 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.96e-05/0.01364, allocations: 43.95 kB / 284.7 MB, free: 8.77 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.675e-05/0.01369, allocations: 52.56 kB / 284.7 MB, free: 8.719 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.01369, allocations: 4 kB / 284.7 MB, free: 8.715 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.0137, allocations: 0 / 284.7 MB, free: 8.715 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002543/0.01395, allocations: 0.5369 MB / 285.3 MB, free: 8.074 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005179/0.01447, allocations: 0.5255 MB / 285.8 MB, free: 7.512 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01447, allocations: 4 kB / 285.8 MB, free: 7.508 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001918/0.01466, allocations: 75.89 kB / 285.9 MB, free: 7.434 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.01466, allocations: 4 kB / 285.9 MB, free: 7.43 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.01468, allocations: 8 kB / 285.9 MB, free: 7.422 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.01468, allocations: 7.938 kB / 285.9 MB, free: 7.414 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01468, allocations: 0 / 285.9 MB, free: 7.414 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002847/0.01497, allocations: 328.5 kB / 286.2 MB, free: 7.078 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.983e-05/0.01506, allocations: 55.59 kB / 286.3 MB, free: 7.023 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.542e-05/0.01509, allocations: 16.03 kB / 286.3 MB, free: 7.008 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.01524, allocations: 23.91 kB / 286.3 MB, free: 6.984 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.075e-05/0.01528, allocations: 23.95 kB / 286.3 MB, free: 6.961 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.888e-06/0.01529, allocations: 8 kB / 286.3 MB, free: 6.953 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001065/0.0154, allocations: 156.7 kB / 286.5 MB, free: 6.797 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0154, allocations: 0 / 286.5 MB, free: 6.797 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002456/0.01564, allocations: 139.8 kB / 286.6 MB, free: 6.66 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.816e-05/0.01572, allocations: 88.36 kB / 286.7 MB, free: 6.566 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004079/0.01613, allocations: 499.3 kB / 287.2 MB, free: 6.031 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.01613, allocations: 4 kB / 287.2 MB, free: 6.027 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.85e-05/0.01622, allocations: 92.59 kB / 287.3 MB, free: 5.934 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.01654, allocations: 147.7 kB / 287.4 MB, free: 5.793 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.01764, allocations: 0.836 MB / 288.3 MB, free: 4.926 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.256e-05/0.0177, allocations: 113.8 kB / 288.4 MB, free: 4.797 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001447/0.01784, allocations: 64.23 kB / 288.4 MB, free: 4.73 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003085/0.01815, allocations: 233.2 kB / 288.7 MB, free: 4.5 MB / 266.7 MB Notification: Performance of SimCode: time 1.173e-06/0.01815, allocations: 0 / 288.7 MB, free: 4.5 MB / 266.7 MB Notification: Performance of Templates: time 0.01051/0.02866, allocations: 9.858 MB / 298.5 MB, free: 10.92 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_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","",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.65351939201355]