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.001325/0.001325, allocations: 79.59 kB / 21.18 MB, free: 3.391 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.001415/0.001415, allocations: 161.4 kB / 24.56 MB, free: 20 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 0.9731/0.9731, 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.533e-06/1.533e-06, allocations: 0 / 273 MB, free: 1.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.502e-05/1.655e-05, allocations: 2.312 kB / 273 MB, free: 1.566 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.00346/0.003476, allocations: 3.7 MB / 276.7 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001558/0.005035, allocations: 1.005 MB / 277.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001632/0.005198, allocations: 11.94 kB / 277.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002745/0.005472, allocations: 95.14 kB / 277.8 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003359/0.005808, allocations: 222.1 kB / 278 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000233/0.006041, allocations: 135.7 kB / 278.1 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000548/0.006589, allocations: 0.7112 MB / 278.8 MB, free: 11.67 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001946/0.006784, allocations: 130.8 kB / 279 MB, free: 11.54 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003211/0.007105, allocations: 391.2 kB / 279.3 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000209/0.007314, allocations: 215.4 kB / 279.5 MB, free: 10.94 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.168e-05/0.007376, allocations: 56 kB / 279.6 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.311e-05/0.007439, allocations: 60 kB / 279.7 MB, free: 10.83 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.316e-05/0.007512, allocations: 127.5 kB / 279.8 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001552/0.007667, allocations: 219.5 kB / 280 MB, free: 10.49 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003847/0.008052, allocations: 458.3 kB / 280.4 MB, free: 10.04 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.008054, allocations: 0 / 280.4 MB, free: 10.04 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.008055, allocations: 0 / 280.4 MB, free: 10.04 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.008062, 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.0009625/0.009025, allocations: 0.9215 MB / 281.4 MB, free: 9.074 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.009058, allocations: 8.031 kB / 281.4 MB, free: 9.066 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001112/0.009169, allocations: 92.52 kB / 281.5 MB, free: 8.977 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003673/0.009537, allocations: 342.5 kB / 281.8 MB, free: 8.613 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.323e-05/0.00963, allocations: 118.2 kB / 281.9 MB, free: 8.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.594e-05/0.009676, allocations: 32.38 kB / 281.9 MB, free: 8.449 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005724/0.01025, allocations: 0.8131 MB / 282.8 MB, free: 7.473 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.01026, allocations: 8.141 kB / 282.8 MB, free: 7.465 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.031e-05/0.01029, allocations: 20.12 kB / 282.8 MB, free: 7.445 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.0103, allocations: 8 kB / 282.8 MB, free: 7.438 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002531/0.01056, allocations: 155.7 kB / 282.9 MB, free: 7.281 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/0.01175, allocations: 0.9474 MB / 283.9 MB, free: 6.293 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000269/0.01202, allocations: 183 kB / 284.1 MB, free: 6.102 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.01214, allocations: 88.23 kB / 284.2 MB, free: 6.012 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.82e-05/0.01217, allocations: 19.86 kB / 284.2 MB, free: 5.992 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.01219, allocations: 53.19 kB / 284.2 MB, free: 5.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 1.483e-06/0.01219, allocations: 0 / 284.2 MB, free: 5.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.0006151/0.01281, allocations: 366.9 kB / 284.6 MB, free: 5.559 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001247/0.01293, allocations: 444.9 kB / 285 MB, free: 5.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003111/0.01325, allocations: 454.7 kB / 285.5 MB, free: 4.559 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.01328, allocations: 37.7 kB / 285.5 MB, free: 4.516 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.01341, allocations: 299.2 kB / 285.8 MB, free: 4.219 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.392e-05/0.01348, allocations: 118.9 kB / 285.9 MB, free: 4.102 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.908e-05/0.01357, allocations: 87.28 kB / 286 MB, free: 4.008 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.0137, allocations: 0.5313 MB / 286.5 MB, free: 3.465 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.01382, allocations: 81.67 kB / 286.6 MB, free: 3.379 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002931/0.01411, allocations: 0.631 MB / 287.2 MB, free: 2.574 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002267/0.01434, allocations: 202.8 kB / 287.4 MB, free: 2.363 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.01434, allocations: 0 / 287.4 MB, free: 2.363 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003842/0.01472, allocations: 381.4 kB / 287.8 MB, free: 1.965 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.01475, allocations: 31.73 kB / 287.8 MB, free: 1.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.01475, allocations: 0 / 287.8 MB, free: 1.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001263/0.01488, allocations: 47.34 kB / 287.9 MB, free: 1.875 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/0.01507, allocations: 79.89 kB / 288 MB, free: 1.797 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001613/0.01669, allocations: 3.582 MB / 291.6 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.01686, allocations: 43.77 kB / 291.6 MB, free: 13.92 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.01688, allocations: 12 kB / 291.6 MB, free: 13.91 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.0001219/0.01701, allocations: 180.5 kB / 291.8 MB, free: 13.72 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.518e-05/0.01707, allocations: 67.64 kB / 291.8 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.744e-05/0.01712, allocations: 44.58 kB / 291.9 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.01712, allocations: 4 kB / 291.9 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.01712, allocations: 4 kB / 291.9 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003625/0.01749, allocations: 0.5904 MB / 292.5 MB, free: 12.91 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000732/0.01822, allocations: 0.7739 MB / 293.3 MB, free: 12.09 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.01822, allocations: 0 / 293.3 MB, free: 12.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002133/0.01843, allocations: 83.89 kB / 293.3 MB, free: 12 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.01844, allocations: 4 kB / 293.3 MB, free: 12 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.01845, allocations: 4 kB / 293.4 MB, free: 12 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.01846, allocations: 11.92 kB / 293.4 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.01846, allocations: 0 / 293.4 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004262/0.01888, allocations: 473 kB / 293.8 MB, free: 11.5 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.01899, allocations: 91.55 kB / 293.9 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.475e-05/0.01903, allocations: 8 kB / 293.9 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.01918, allocations: 27.92 kB / 294 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.914e-05/0.01924, allocations: 27.94 kB / 294 MB, free: 11.35 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.01925, allocations: 4 kB / 294 MB, free: 11.35 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002118/0.01946, allocations: 307 kB / 294.3 MB, free: 11.05 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01946, allocations: 4 kB / 294.3 MB, free: 11.05 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000282/0.01974, allocations: 139.8 kB / 294.4 MB, free: 10.91 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.724e-05/0.01983, allocations: 107.2 kB / 294.5 MB, free: 10.8 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005486/0.02038, allocations: 0.6296 MB / 295.2 MB, free: 10.11 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.02038, allocations: 0 / 295.2 MB, free: 10.11 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.0205, allocations: 107.5 kB / 295.3 MB, free: 10 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003929/0.02089, allocations: 149.5 kB / 295.4 MB, free: 9.855 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.02216, allocations: 0.8473 MB / 296.3 MB, free: 8.977 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.103e-05/0.02223, allocations: 109.8 kB / 296.4 MB, free: 8.848 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001584/0.02239, allocations: 68.22 kB / 296.4 MB, free: 8.777 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.586e-05/0.02248, allocations: 40.5 kB / 296.5 MB, free: 8.738 MB / 282.7 MB Notification: Performance of SimCode: time 8.42e-07/0.02248, allocations: 0 / 296.5 MB, free: 8.738 MB / 282.7 MB Notification: Performance of Templates: time 0.103/0.1255, allocations: 9.829 MB / 306.3 MB, free: 40.04 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: 2.927763200365007]