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.001324/0.001324, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001503/0.001503, allocations: 164.4 kB / 24.99 MB, free: 8.297 MB / 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.9256/0.9256, allocations: 177.1 MB / 205.3 MB, free: 5.582 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.382e-06/1.382e-06, allocations: 0 / 273 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.258e-05/2.397e-05, allocations: 6.25 kB / 273 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.003681/0.003705, allocations: 3.696 MB / 276.7 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001517/0.005222, allocations: 0.9968 MB / 277.7 MB, free: 13.1 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001774/0.0054, allocations: 7.938 kB / 277.7 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002727/0.005672, allocations: 107.1 kB / 277.8 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003031/0.005975, allocations: 210.2 kB / 278 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002354/0.006211, allocations: 135.7 kB / 278.2 MB, free: 12.65 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006258/0.006837, allocations: 0.7116 MB / 278.9 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002192/0.007056, allocations: 126.9 kB / 279 MB, free: 11.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003711/0.007427, allocations: 391.1 kB / 279.4 MB, free: 11.42 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000229/0.007656, allocations: 219.4 kB / 279.6 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.439e-05/0.00772, allocations: 60 kB / 279.7 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.813e-05/0.007778, allocations: 60 kB / 279.7 MB, free: 11.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.452e-05/0.007853, allocations: 119.6 kB / 279.8 MB, free: 10.97 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000154/0.008007, allocations: 223.5 kB / 280.1 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003933/0.0084, allocations: 462.3 kB / 280.5 MB, free: 10.3 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.008403, allocations: 0 / 280.5 MB, free: 10.3 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.008403, allocations: 0 / 280.5 MB, free: 10.3 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.74e-06/0.008409, allocations: 0 / 280.5 MB, free: 10.3 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.0009695/0.009378, allocations: 0.9293 MB / 281.4 MB, free: 9.328 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.009412, allocations: 8.031 kB / 281.5 MB, free: 9.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.009526, allocations: 96.45 kB / 281.5 MB, free: 9.227 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004193/0.009945, allocations: 355.2 kB / 281.9 MB, free: 8.852 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003456/0.01029, allocations: 114.3 kB / 282 MB, free: 8.723 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.935e-05/0.01034, allocations: 44.33 kB / 282 MB, free: 8.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005648/0.0109, allocations: 0.8041 MB / 282.9 MB, free: 7.707 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.01092, allocations: 8.109 kB / 282.9 MB, free: 7.699 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.943e-05/0.01095, allocations: 20.12 kB / 282.9 MB, free: 7.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.01096, allocations: 8 kB / 282.9 MB, free: 7.672 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000261/0.01122, allocations: 155.8 kB / 283 MB, free: 7.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/0.0124, allocations: 0.9591 MB / 284 MB, free: 6.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002701/0.01267, allocations: 171 kB / 284.2 MB, free: 6.34 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/0.01279, allocations: 88.23 kB / 284.3 MB, free: 6.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.91e-05/0.01282, allocations: 15.88 kB / 284.3 MB, free: 6.234 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.01285, allocations: 49.25 kB / 284.3 MB, free: 6.176 MB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 1.482e-06/0.01285, allocations: 0 / 284.3 MB, free: 6.176 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.0006502/0.0135, allocations: 366.9 kB / 284.7 MB, free: 5.805 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001259/0.01362, allocations: 448.9 kB / 285.1 MB, free: 5.262 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003316/0.01396, allocations: 446.7 kB / 285.5 MB, free: 4.809 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.01399, allocations: 41.64 kB / 285.6 MB, free: 4.762 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.01413, allocations: 303.2 kB / 285.9 MB, free: 4.461 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.991e-05/0.0142, allocations: 122.9 kB / 286 MB, free: 4.34 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.266e-05/0.0143, allocations: 83.34 kB / 286.1 MB, free: 4.25 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.01444, allocations: 0.5352 MB / 286.6 MB, free: 3.703 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.01455, allocations: 81.67 kB / 286.7 MB, free: 3.617 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003041/0.01486, allocations: 0.6333 MB / 287.3 MB, free: 2.812 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000238/0.0151, allocations: 198.8 kB / 287.5 MB, free: 2.605 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.0151, allocations: 0 / 287.5 MB, free: 2.605 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004143/0.01551, allocations: 381.4 kB / 287.9 MB, free: 2.207 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/0.01554, allocations: 29.7 kB / 287.9 MB, free: 2.172 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.01555, allocations: 0 / 287.9 MB, free: 2.172 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000135/0.01568, allocations: 51.33 kB / 288 MB, free: 2.113 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/0.01589, allocations: 83.92 kB / 288.1 MB, free: 2.031 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001832/0.01772, allocations: 3.578 MB / 291.6 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001883/0.01791, allocations: 39.95 kB / 291.7 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/0.01793, allocations: 12 kB / 291.7 MB, free: 14.15 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.0001319/0.01806, allocations: 180.5 kB / 291.9 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.447e-05/0.01813, allocations: 67.64 kB / 291.9 MB, free: 13.9 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.182e-05/0.01819, allocations: 52.56 kB / 292 MB, free: 13.85 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.01819, allocations: 4 kB / 292 MB, free: 13.84 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.0182, allocations: 4 kB / 292 MB, free: 13.84 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003721/0.01857, allocations: 0.5904 MB / 292.6 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007827/0.01935, allocations: 0.77 MB / 293.4 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.01936, allocations: 0 / 293.4 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002191/0.01958, allocations: 87.89 kB / 293.4 MB, free: 12.24 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.01958, allocations: 0 / 293.4 MB, free: 12.24 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.0196, allocations: 8 kB / 293.4 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.0196, allocations: 4 kB / 293.5 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.0196, allocations: 0 / 293.5 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004487/0.02005, allocations: 480.9 kB / 293.9 MB, free: 11.74 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.02016, allocations: 87.55 kB / 294 MB, free: 11.65 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.868e-05/0.0202, allocations: 12 kB / 294 MB, free: 11.64 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.02036, allocations: 19.98 kB / 294 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.137e-05/0.02043, allocations: 23.95 kB / 294.1 MB, free: 11.6 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.02044, allocations: 15.98 kB / 294.1 MB, free: 11.58 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002182/0.02066, allocations: 303 kB / 294.4 MB, free: 11.29 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02066, allocations: 4.031 kB / 294.4 MB, free: 11.29 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003185/0.02098, allocations: 139.8 kB / 294.5 MB, free: 11.15 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 0.000132/0.02111, allocations: 103.2 kB / 294.6 MB, free: 11.04 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006361/0.02175, allocations: 0.6296 MB / 295.2 MB, free: 10.35 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.02175, allocations: 0 / 295.2 MB, free: 10.35 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.02188, allocations: 107.5 kB / 295.3 MB, free: 10.24 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004362/0.02231, allocations: 145.4 kB / 295.5 MB, free: 10.1 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.02397, allocations: 0.8626 MB / 296.4 MB, free: 9.207 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.114e-05/0.02404, allocations: 109.8 kB / 296.5 MB, free: 9.078 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001673/0.02421, allocations: 56.25 kB / 296.5 MB, free: 9.02 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.213e-05/0.0243, allocations: 48.48 kB / 296.6 MB, free: 8.973 MB / 282.7 MB Notification: Performance of SimCode: time 8.62e-07/0.0243, allocations: 0 / 296.6 MB, free: 8.973 MB / 282.7 MB Notification: Performance of Templates: time 0.1128/0.1371, allocations: 9.33 MB / 305.9 MB, free: 43.19 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.982212590985]