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.001367/0.001367, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 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.0009876/0.0009876, allocations: 161 kB / 24.56 MB, free: 12 kB / 18.57 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 1.001/1.001, allocations: 177.1 MB / 205 MB, free: 5.633 MB / 186.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.242e-06/1.242e-06, allocations: 0 / 272.9 MB, free: 1.578 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.376e-05/1.5e-05, allocations: 2.312 kB / 272.9 MB, free: 1.574 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.003158/0.003173, allocations: 3.708 MB / 276.7 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001254/0.004427, allocations: 1.001 MB / 277.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001577/0.004585, allocations: 7.938 kB / 277.7 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002554/0.00484, allocations: 107.1 kB / 277.8 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002865/0.005127, allocations: 206.2 kB / 278 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002151/0.005342, allocations: 131.7 kB / 278.1 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005215/0.005863, allocations: 0.7116 MB / 278.8 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00018/0.006043, allocations: 130.9 kB / 278.9 MB, free: 11.55 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003084/0.006352, allocations: 391.2 kB / 279.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002113/0.006563, allocations: 215.4 kB / 279.5 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.317e-05/0.006626, allocations: 64 kB / 279.6 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.247e-05/0.006689, allocations: 56 kB / 279.6 MB, free: 10.84 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.294e-05/0.006762, allocations: 135.5 kB / 279.8 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001538/0.006915, allocations: 215.5 kB / 280 MB, free: 10.49 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003778/0.007293, allocations: 466.3 kB / 280.4 MB, free: 10.04 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.007295, allocations: 0 / 280.4 MB, free: 10.04 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.007296, allocations: 0 / 280.4 MB, free: 10.04 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.007302, allocations: 0 / 280.4 MB, free: 10.04 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.0009283/0.00823, allocations: 0.9176 MB / 281.4 MB, free: 9.074 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.008264, allocations: 8.031 kB / 281.4 MB, free: 9.066 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.008372, allocations: 100.5 kB / 281.5 MB, free: 8.969 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004035/0.008775, allocations: 359.2 kB / 281.8 MB, free: 8.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.594e-05/0.008851, allocations: 110.3 kB / 281.9 MB, free: 8.465 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.091e-05/0.008902, allocations: 44.33 kB / 282 MB, free: 8.422 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005566/0.009458, allocations: 0.8095 MB / 282.8 MB, free: 7.441 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.009472, allocations: 4.172 kB / 282.8 MB, free: 7.438 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.761e-05/0.009499, allocations: 16.12 kB / 282.8 MB, free: 7.422 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.00951, allocations: 8 kB / 282.8 MB, free: 7.414 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002556/0.009765, allocations: 159.8 kB / 283 MB, free: 7.258 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/0.01091, allocations: 0.9474 MB / 283.9 MB, free: 6.27 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002626/0.01117, allocations: 183 kB / 284.1 MB, free: 6.078 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.0113, allocations: 88.23 kB / 284.2 MB, free: 5.988 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.261e-05/0.01133, allocations: 11.94 kB / 284.2 MB, free: 5.977 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.01136, allocations: 53.12 kB / 284.2 MB, free: 5.914 MB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 1.643e-06/0.01136, allocations: 0 / 284.2 MB, free: 5.914 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.0006005/0.01196, allocations: 366.9 kB / 284.6 MB, free: 5.543 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/0.01208, allocations: 449 kB / 285 MB, free: 5 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003187/0.0124, allocations: 454.7 kB / 285.5 MB, free: 4.539 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.01242, allocations: 29.7 kB / 285.5 MB, free: 4.504 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.01256, allocations: 311.2 kB / 285.8 MB, free: 4.195 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.566e-05/0.01263, allocations: 126.9 kB / 285.9 MB, free: 4.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.737e-05/0.01272, allocations: 83.34 kB / 286 MB, free: 3.98 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.01285, allocations: 0.5235 MB / 286.5 MB, free: 3.445 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.01297, allocations: 89.66 kB / 286.6 MB, free: 3.352 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002959/0.01326, allocations: 0.6342 MB / 287.3 MB, free: 2.547 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002285/0.01349, allocations: 202.7 kB / 287.5 MB, free: 2.336 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.01349, allocations: 0 / 287.5 MB, free: 2.336 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003815/0.01388, allocations: 377.4 kB / 287.8 MB, free: 1.941 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.0139, allocations: 33.7 kB / 287.9 MB, free: 1.902 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.0139, allocations: 0 / 287.9 MB, free: 1.902 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001207/0.01402, allocations: 47.34 kB / 287.9 MB, free: 1.848 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001983/0.01422, allocations: 75.92 kB / 288 MB, free: 1.773 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001554/0.01578, allocations: 3.574 MB / 291.6 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.01595, allocations: 43.81 kB / 291.6 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.077e-05/0.01597, allocations: 15.97 kB / 291.6 MB, free: 13.89 MB / 282.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.0001185/0.01609, allocations: 184.5 kB / 291.8 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.844e-05/0.01616, allocations: 63.66 kB / 291.9 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.769e-05/0.01621, allocations: 48.58 kB / 291.9 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.01621, allocations: 4 kB / 291.9 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.01621, allocations: 4 kB / 291.9 MB, free: 13.58 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003606/0.01657, allocations: 0.5943 MB / 292.5 MB, free: 12.88 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000741/0.01731, allocations: 0.7661 MB / 293.3 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.01732, allocations: 4 kB / 293.3 MB, free: 12.06 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002074/0.01752, allocations: 79.89 kB / 293.4 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.01753, allocations: 3.984 kB / 293.4 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.01754, allocations: 12 kB / 293.4 MB, free: 11.97 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.01754, allocations: 4 kB / 293.4 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.01755, allocations: 3.938 kB / 293.4 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004338/0.01798, allocations: 473 kB / 293.8 MB, free: 11.48 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.0181, allocations: 95.55 kB / 293.9 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.328e-05/0.01813, allocations: 11.94 kB / 293.9 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.01828, allocations: 15.98 kB / 294 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.044e-05/0.01833, allocations: 27.95 kB / 294 MB, free: 11.33 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.01834, allocations: 8 kB / 294 MB, free: 11.32 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002033/0.01855, allocations: 307 kB / 294.3 MB, free: 11.03 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01855, allocations: 4.031 kB / 294.3 MB, free: 11.02 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002771/0.01882, allocations: 135.9 kB / 294.4 MB, free: 10.89 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 8.606e-05/0.01891, allocations: 115.1 kB / 294.5 MB, free: 10.77 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005317/0.01944, allocations: 0.6218 MB / 295.2 MB, free: 10.09 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.01945, allocations: 4 kB / 295.2 MB, free: 10.09 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.01957, allocations: 103.6 kB / 295.3 MB, free: 9.98 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.01995, allocations: 155.3 kB / 295.4 MB, free: 9.828 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.02122, allocations: 0.8512 MB / 296.3 MB, free: 8.945 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.527e-05/0.02128, allocations: 113.8 kB / 296.4 MB, free: 8.812 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001386/0.02142, allocations: 56.25 kB / 296.4 MB, free: 8.754 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.151e-05/0.0215, allocations: 40.5 kB / 296.5 MB, free: 8.715 MB / 282.7 MB Notification: Performance of SimCode: time 6.92e-07/0.0215, allocations: 0 / 296.5 MB, free: 8.715 MB / 282.7 MB Notification: Performance of Templates: time 0.1051/0.1266, allocations: 9.33 MB / 305.8 MB, free: 40.58 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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0922405663877726]