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.000802/0.000802, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001251/0.002053, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0007663/0.0007663, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001148/0.001914, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.883/0.883, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1565/1.04, allocations: 52.49 MB / 238.5 MB, free: 7.629 MB / 234.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.473e-06/1.473e-06, allocations: 0 / 239.7 MB, free: 6.379 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.061e-05/2.208e-05, allocations: 2.312 kB / 239.7 MB, free: 6.375 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004199/0.004221, allocations: 3.706 MB / 243.4 MB, free: 2.672 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0015/0.005721, allocations: 0.9995 MB / 244.4 MB, free: 1.676 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001896/0.005911, allocations: 11.94 kB / 244.5 MB, free: 1.664 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002093/0.00612, allocations: 111 kB / 244.6 MB, free: 1.555 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002749/0.006395, allocations: 213.5 kB / 244.8 MB, free: 1.348 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002203/0.006615, allocations: 133.2 kB / 244.9 MB, free: 1.219 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008062/0.007421, allocations: 0.7117 MB / 245.6 MB, free: 0.5 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002188/0.00764, allocations: 132.8 kB / 245.7 MB, free: 368 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005145/0.008155, allocations: 486.4 kB / 246.2 MB, free: 15.89 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002573/0.008412, allocations: 224 kB / 246.4 MB, free: 15.67 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.324e-05/0.008475, allocations: 56 kB / 246.5 MB, free: 15.61 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.008609, allocations: 56.56 kB / 246.5 MB, free: 15.56 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.685e-05/0.008675, allocations: 91.69 kB / 246.6 MB, free: 15.47 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.008816, allocations: 177.3 kB / 246.8 MB, free: 15.3 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003996/0.009216, allocations: 410.5 kB / 247.2 MB, free: 14.89 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.554e-05/0.009231, allocations: 0 / 247.2 MB, free: 14.89 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.009233, allocations: 4 kB / 247.2 MB, free: 14.89 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.027e-05/0.009253, allocations: 1.188 kB / 247.2 MB, free: 14.89 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.001024/0.01028, allocations: 0.896 MB / 248.1 MB, free: 13.96 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.01031, allocations: 8.781 kB / 248.1 MB, free: 13.96 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.93e-05/0.01041, allocations: 76.81 kB / 248.2 MB, free: 13.88 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004735/0.01088, allocations: 285.1 kB / 248.5 MB, free: 13.58 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.421e-05/0.01098, allocations: 107 kB / 248.6 MB, free: 13.46 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.755e-05/0.01102, allocations: 40.38 kB / 248.6 MB, free: 13.42 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005198/0.01154, allocations: 0.7482 MB / 249.4 MB, free: 12.53 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.01156, allocations: 192 / 249.4 MB, free: 12.53 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.857e-05/0.01159, allocations: 20.12 kB / 249.4 MB, free: 12.51 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.0116, allocations: 8 kB / 249.4 MB, free: 12.5 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001628/0.01176, allocations: 103.1 kB / 249.5 MB, free: 12.4 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009965/0.01275, allocations: 0.6619 MB / 250.2 MB, free: 11.71 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000215/0.01297, allocations: 147.9 kB / 250.3 MB, free: 11.56 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.386e-05/0.01304, allocations: 68.81 kB / 250.4 MB, free: 11.49 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.484e-05/0.01308, allocations: 8.594 kB / 250.4 MB, free: 11.48 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.01311, allocations: 38.56 kB / 250.4 MB, free: 11.44 MB / 250.7 MB Notification: Performance of pre-optimization done (n=35): time 1.623e-06/0.01311, allocations: 4 kB / 250.4 MB, free: 11.43 MB / 250.7 MB Notification: Performance of matching and sorting (n=35): time 0.0004688/0.01358, allocations: 276 kB / 250.7 MB, free: 11.15 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/0.01361, allocations: 59.41 kB / 250.7 MB, free: 11.08 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/0.01381, allocations: 355.3 kB / 251.1 MB, free: 10.72 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.01384, allocations: 33.7 kB / 251.1 MB, free: 10.68 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.543e-05/0.01393, allocations: 197.5 kB / 251.3 MB, free: 10.48 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.281e-05/0.014, allocations: 130.8 kB / 251.4 MB, free: 10.36 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.591e-05/0.01407, allocations: 73.67 kB / 251.5 MB, free: 10.28 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003905/0.01447, allocations: 358.7 kB / 251.9 MB, free: 9.918 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.97e-05/0.01454, allocations: 65.67 kB / 251.9 MB, free: 9.848 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002246/0.01477, allocations: 0.5682 MB / 252.5 MB, free: 9.125 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.01492, allocations: 168.9 kB / 252.7 MB, free: 8.949 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.01493, allocations: 0 / 252.7 MB, free: 8.949 MB / 250.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002506/0.01518, allocations: 272.1 kB / 252.9 MB, free: 8.66 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.014e-05/0.01522, allocations: 43.88 kB / 253 MB, free: 8.613 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.01522, allocations: 0 / 253 MB, free: 8.613 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.966e-05/0.01531, allocations: 33.73 kB / 253 MB, free: 8.574 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002981/0.01561, allocations: 103.9 kB / 253.1 MB, free: 8.473 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001285/0.0169, allocations: 2.399 MB / 255.5 MB, free: 5.902 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/0.01709, allocations: 51.69 kB / 255.6 MB, free: 5.852 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.01711, allocations: 12 kB / 255.6 MB, free: 5.84 MB / 250.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.0001224/0.01723, allocations: 137.8 kB / 255.7 MB, free: 5.695 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.119e-05/0.01728, allocations: 43.95 kB / 255.7 MB, free: 5.652 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.325e-05/0.01734, allocations: 48.56 kB / 255.8 MB, free: 5.598 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.01734, allocations: 7.938 kB / 255.8 MB, free: 5.59 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.01734, allocations: 0 / 255.8 MB, free: 5.59 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002774/0.01762, allocations: 0.5407 MB / 256.3 MB, free: 4.945 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006724/0.01829, allocations: 0.5176 MB / 256.9 MB, free: 4.398 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.0183, allocations: 0 / 256.9 MB, free: 4.398 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002799/0.01858, allocations: 114.9 kB / 257 MB, free: 4.289 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.01868, allocations: 59.53 kB / 257 MB, free: 4.23 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.01868, allocations: 0 / 257 MB, free: 4.23 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.0187, allocations: 8 kB / 257 MB, free: 4.223 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.0187, allocations: 0 / 257 MB, free: 4.223 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.0187, allocations: 0 / 257 MB, free: 4.223 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003141/0.01902, allocations: 337 kB / 257.4 MB, free: 3.879 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.534e-05/0.01905, allocations: 8 kB / 257.4 MB, free: 3.871 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.01921, allocations: 32 kB / 257.4 MB, free: 3.84 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.963e-05/0.01926, allocations: 23.95 kB / 257.4 MB, free: 3.816 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.01927, allocations: 4 kB / 257.4 MB, free: 3.812 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001208/0.01939, allocations: 156.7 kB / 257.6 MB, free: 3.66 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01939, allocations: 0 / 257.6 MB, free: 3.66 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002771/0.01966, allocations: 139.8 kB / 257.7 MB, free: 3.523 MB / 250.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.0001217/0.01979, allocations: 92.48 kB / 257.8 MB, free: 3.422 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004549/0.02024, allocations: 0.4918 MB / 258.3 MB, free: 2.883 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.618e-05/0.02026, allocations: 11.94 kB / 258.3 MB, free: 2.871 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001276/0.02038, allocations: 112.6 kB / 258.4 MB, free: 2.758 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.02144, allocations: 1.405 MB / 259.8 MB, free: 1.074 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005728/0.02716, allocations: 0.8167 MB / 260.6 MB, free: 228 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.546e-05/0.02724, allocations: 113.9 kB / 260.8 MB, free: 92 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0002562/0.0275, allocations: 64.34 kB / 260.8 MB, free: 28 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003684/0.02786, allocations: 245.1 kB / 261.1 MB, free: 15.79 MB / 266.7 MB Notification: Performance of SimCode: time 2.094e-06/0.02787, allocations: 0 / 261.1 MB, free: 15.79 MB / 266.7 MB Notification: Performance of Templates: time 0.01355/0.04142, allocations: 11.25 MB / 272.3 MB, free: 4.824 MB / 266.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7605565218254924]