Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0008425/0.0008425, allocations: 73.12 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001161/0.002004, allocations: 453.8 kB / 10.46 MB, free: 236 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.001578/0.001578, allocations: 161.2 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002141/0.00372, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.073/1.073, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2112/1.284, allocations: 49.49 MB / 220.7 MB, free: 1.359 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 222 MB, free: 72 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.766e-05/2.958e-05, allocations: 6.312 kB / 222 MB, free: 64 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004989/0.005018, allocations: 3.703 MB / 225.7 MB, free: 12.34 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002165/0.007183, allocations: 1.048 MB / 226.7 MB, free: 11.28 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002447/0.007428, allocations: 7.938 kB / 226.7 MB, free: 11.27 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002473/0.007675, allocations: 111 kB / 226.9 MB, free: 11.16 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003501/0.008026, allocations: 218.2 kB / 227.1 MB, free: 10.95 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002542/0.00828, allocations: 127.8 kB / 227.2 MB, free: 10.82 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007571/0.009037, allocations: 0.7117 MB / 227.9 MB, free: 10.11 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002296/0.009266, allocations: 136.8 kB / 228 MB, free: 9.973 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005907/0.009857, allocations: 477.9 kB / 228.5 MB, free: 9.504 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002935/0.01015, allocations: 215.4 kB / 228.7 MB, free: 9.293 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 7.88e-05/0.01023, allocations: 56 kB / 228.8 MB, free: 9.238 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.593e-05/0.01033, allocations: 60 kB / 228.8 MB, free: 9.18 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 9.57e-05/0.01042, allocations: 95.62 kB / 228.9 MB, free: 9.086 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001937/0.01061, allocations: 179.7 kB / 229.1 MB, free: 8.91 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006227/0.01124, allocations: 410.5 kB / 229.5 MB, free: 8.508 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.272e-05/0.01126, allocations: 3.938 kB / 229.5 MB, free: 8.504 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.01126, allocations: 0 / 229.5 MB, free: 8.504 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.937e-05/0.01128, allocations: 0 / 229.5 MB, free: 8.504 MB / 234.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.001319/0.0126, allocations: 0.9018 MB / 230.4 MB, free: 7.57 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.01264, allocations: 8.031 kB / 230.4 MB, free: 7.562 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001269/0.01277, allocations: 72.88 kB / 230.5 MB, free: 7.492 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000438/0.0132, allocations: 279.7 kB / 230.8 MB, free: 7.191 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/0.01331, allocations: 106.3 kB / 230.9 MB, free: 7.07 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.501e-05/0.01337, allocations: 40.38 kB / 230.9 MB, free: 7.031 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000687/0.01406, allocations: 0.7497 MB / 231.6 MB, free: 6.129 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.01407, allocations: 4.125 kB / 231.6 MB, free: 6.125 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.063e-05/0.0141, allocations: 20.12 kB / 231.7 MB, free: 6.105 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.01411, allocations: 8 kB / 231.7 MB, free: 6.098 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001982/0.01431, allocations: 103.1 kB / 231.8 MB, free: 5.996 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/0.01543, allocations: 0.6672 MB / 232.4 MB, free: 5.309 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002362/0.01567, allocations: 134.5 kB / 232.6 MB, free: 5.168 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.151e-05/0.01576, allocations: 77.16 kB / 232.7 MB, free: 5.09 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.171e-05/0.01579, allocations: 15.8 kB / 232.7 MB, free: 5.074 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.01583, allocations: 38.56 kB / 232.7 MB, free: 5.027 MB / 234.7 MB Notification: Performance of pre-optimization done (n=35): time 1.553e-06/0.01583, allocations: 0 / 232.7 MB, free: 5.027 MB / 234.7 MB Notification: Performance of matching and sorting (n=35): time 0.0005593/0.01639, allocations: 275 kB / 233 MB, free: 4.746 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.01642, allocations: 55.41 kB / 233 MB, free: 4.68 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002996/0.01672, allocations: 363.2 kB / 233.4 MB, free: 4.309 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.339e-05/0.01675, allocations: 33.7 kB / 233.4 MB, free: 4.27 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.01687, allocations: 193.5 kB / 233.6 MB, free: 4.078 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.982e-05/0.01696, allocations: 134.8 kB / 233.7 MB, free: 3.945 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.01707, allocations: 73.66 kB / 233.8 MB, free: 3.867 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.0172, allocations: 362.7 kB / 234.2 MB, free: 3.504 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.312e-05/0.01729, allocations: 61.67 kB / 234.2 MB, free: 3.438 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006245/0.01791, allocations: 0.5607 MB / 234.8 MB, free: 2.723 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000213/0.01813, allocations: 173.1 kB / 235 MB, free: 2.543 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.01813, allocations: 0 / 235 MB, free: 2.543 MB / 234.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003432/0.01847, allocations: 268.2 kB / 235.2 MB, free: 2.258 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.774e-05/0.01852, allocations: 37.69 kB / 235.3 MB, free: 2.215 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.01853, allocations: 0 / 235.3 MB, free: 2.215 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001182/0.01865, allocations: 37.69 kB / 235.3 MB, free: 2.172 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003652/0.01901, allocations: 99.89 kB / 235.4 MB, free: 2.074 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001512/0.02052, allocations: 2.411 MB / 237.8 MB, free: 15.48 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002262/0.02075, allocations: 39.77 kB / 237.8 MB, free: 15.45 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.02077, allocations: 12 kB / 237.8 MB, free: 15.43 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.0001295/0.0209, allocations: 133.8 kB / 238 MB, free: 15.29 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.72e-05/0.02097, allocations: 43.95 kB / 238 MB, free: 15.25 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.577e-05/0.02103, allocations: 52.56 kB / 238.1 MB, free: 15.2 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.02104, allocations: 7.938 kB / 238.1 MB, free: 15.19 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.02104, allocations: 0 / 238.1 MB, free: 15.19 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003416/0.02139, allocations: 0.5408 MB / 238.6 MB, free: 14.55 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007156/0.0221, allocations: 0.5214 MB / 239.1 MB, free: 13.99 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.0221, allocations: 0 / 239.1 MB, free: 13.99 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000337/0.02244, allocations: 111.8 kB / 239.3 MB, free: 13.88 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.02255, allocations: 51.59 kB / 239.3 MB, free: 13.83 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.02255, allocations: 11.94 kB / 239.3 MB, free: 13.82 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.02257, allocations: 4 kB / 239.3 MB, free: 13.82 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.02257, allocations: 0 / 239.3 MB, free: 13.82 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.02257, allocations: 0 / 239.3 MB, free: 13.82 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003618/0.02294, allocations: 341 kB / 239.6 MB, free: 13.47 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.834e-05/0.02298, allocations: 11.98 kB / 239.7 MB, free: 13.46 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00321/0.02619, allocations: 23.98 kB / 239.7 MB, free: 13.43 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.887e-05/0.02625, allocations: 27.94 kB / 239.7 MB, free: 13.41 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.02626, allocations: 0 / 239.7 MB, free: 13.41 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001496/0.02641, allocations: 168.7 kB / 239.9 MB, free: 13.24 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02641, allocations: 0 / 239.9 MB, free: 13.24 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003576/0.02677, allocations: 139.8 kB / 240 MB, free: 13.11 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.0001488/0.02692, allocations: 88.34 kB / 240.1 MB, free: 13.01 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005657/0.02749, allocations: 491.1 kB / 240.6 MB, free: 12.49 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.075e-05/0.02751, allocations: 19.92 kB / 240.6 MB, free: 12.47 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.02766, allocations: 104.8 kB / 240.7 MB, free: 12.36 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/0.02896, allocations: 1.412 MB / 242.1 MB, free: 10.68 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008445/0.03741, allocations: 0.8137 MB / 242.9 MB, free: 9.828 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.691e-05/0.03749, allocations: 117.7 kB / 243 MB, free: 9.691 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0002243/0.03771, allocations: 64.34 kB / 243.1 MB, free: 9.629 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003526/0.03806, allocations: 241.2 kB / 243.3 MB, free: 9.391 MB / 250.7 MB Notification: Performance of SimCode: time 2.434e-06/0.03806, allocations: 0 / 243.3 MB, free: 9.391 MB / 250.7 MB Notification: Performance of Templates: time 0.01372/0.05178, allocations: 11.25 MB / 254.6 MB, free: 14.16 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 3.2603063443675637]