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.001916/0.001916, allocations: 80.59 kB / 20.67 MB, free: 1.035 MB / 14.72 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.002232/0.002232, allocations: 151 kB / 23.94 MB, free: 4.176 MB / 14.72 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 1.464/1.464, allocations: 173.3 MB / 200.4 MB, free: 12.87 MB / 190.1 MB " [Timeout remaining time 178] 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 / 318.9 MB, free: 3.555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.663e-05/2.81e-05, allocations: 6.219 kB / 318.9 MB, free: 3.547 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004064/0.004092, allocations: 3.352 MB / 322.3 MB, free: 1.289 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001438/0.00553, allocations: 0.9398 MB / 323.2 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000188/0.005718, allocations: 14.22 kB / 323.2 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002995/0.006017, allocations: 104.3 kB / 323.3 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003736/0.006391, allocations: 213.8 kB / 323.5 MB, free: 408 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002691/0.00666, allocations: 127 kB / 323.7 MB, free: 336 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007021/0.007362, allocations: 0.7134 MB / 324.4 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002667/0.007629, allocations: 132 kB / 324.5 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004902/0.008119, allocations: 388 kB / 324.9 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003654/0.008484, allocations: 212.6 kB / 325.1 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.602e-05/0.00857, allocations: 57.19 kB / 325.1 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.008685, allocations: 58.09 kB / 325.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001489/0.008834, allocations: 135.4 kB / 325.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002779/0.009112, allocations: 221.7 kB / 325.5 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008589/0.009971, allocations: 0.7189 MB / 326.3 MB, free: 15.16 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.009978, allocations: 0 / 326.3 MB, free: 15.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.00998, allocations: 0 / 326.3 MB, free: 15.16 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.009992, allocations: 1.672 kB / 326.3 MB, free: 15.16 MB / 302.1 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.001866/0.01186, allocations: 0.8304 MB / 327.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.0119, allocations: 10.45 kB / 327.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001382/0.01203, allocations: 66.47 kB / 327.2 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007895/0.01282, allocations: 369.7 kB / 327.5 MB, free: 14.26 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001524/0.01298, allocations: 110.9 kB / 327.6 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.599e-05/0.01304, allocations: 38.22 kB / 327.7 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/0.0142, allocations: 0.8493 MB / 328.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.01422, allocations: 1.438 kB / 328.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.151e-05/0.01427, allocations: 21.59 kB / 328.5 MB, free: 13.37 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.01428, allocations: 6.844 kB / 328.6 MB, free: 13.37 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009059/0.01519, allocations: 339.8 kB / 328.9 MB, free: 13.26 MB / 302.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002056/0.01724, allocations: 0.94 MB / 329.8 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007343/0.01798, allocations: 279.5 kB / 330.1 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004477/0.01842, allocations: 171.6 kB / 330.3 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.022e-05/0.01846, allocations: 8.703 kB / 330.3 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.752e-05/0.01851, allocations: 39.34 kB / 330.3 MB, free: 12.47 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 2.605e-06/0.01851, allocations: 0 / 330.3 MB, free: 12.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.001818/0.02033, allocations: 0.5709 MB / 330.9 MB, free: 12.24 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003164/0.02065, allocations: 448.7 kB / 331.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006561/0.02131, allocations: 432.4 kB / 331.7 MB, free: 11.49 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.973e-05/0.02136, allocations: 33.62 kB / 331.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002925/0.02166, allocations: 250.5 kB / 332 MB, free: 11.25 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001605/0.02182, allocations: 126.2 kB / 332.1 MB, free: 11.15 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001894/0.02201, allocations: 76.44 kB / 332.2 MB, free: 11.11 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002196/0.02223, allocations: 350.7 kB / 332.6 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004757/0.0227, allocations: 164.6 kB / 332.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008568/0.02356, allocations: 0.6906 MB / 333.4 MB, free: 9.98 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008833/0.02444, allocations: 344.3 kB / 333.7 MB, free: 9.785 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.02445, allocations: 0.9375 kB / 333.8 MB, free: 9.785 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001176/0.02562, allocations: 0.4995 MB / 334.3 MB, free: 9.48 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.118e-05/0.02567, allocations: 31.14 kB / 334.3 MB, free: 9.449 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.02568, allocations: 1.094 kB / 334.3 MB, free: 9.449 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000193/0.02587, allocations: 52.75 kB / 334.3 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004352/0.02631, allocations: 80.81 kB / 334.4 MB, free: 9.395 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003013/0.02932, allocations: 2.688 MB / 337.1 MB, free: 6.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005469/0.02987, allocations: 55.75 kB / 337.2 MB, free: 6.695 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.602e-05/0.02991, allocations: 12.81 kB / 337.2 MB, free: 6.691 MB / 302.1 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.000279/0.03019, allocations: 168.7 kB / 337.3 MB, free: 6.543 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.03029, allocations: 60.77 kB / 337.4 MB, free: 6.508 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.904e-05/0.03039, allocations: 52.64 kB / 337.4 MB, free: 6.469 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.03039, allocations: 11.3 kB / 337.5 MB, free: 6.461 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.0304, allocations: 1.031 kB / 337.5 MB, free: 6.461 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001114/0.03151, allocations: 0.7281 MB / 338.2 MB, free: 5.789 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001765/0.03328, allocations: 0.8517 MB / 339 MB, free: 5.176 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.03328, allocations: 0 / 339 MB, free: 5.176 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004779/0.03376, allocations: 92.38 kB / 339.1 MB, free: 5.148 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.03376, allocations: 2.688 kB / 339.1 MB, free: 5.148 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.867e-05/0.03379, allocations: 5.438 kB / 339.1 MB, free: 5.145 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.0338, allocations: 1.484 kB / 339.1 MB, free: 5.145 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.0338, allocations: 3.984 kB / 339.1 MB, free: 5.141 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001415/0.03522, allocations: 0.6437 MB / 339.8 MB, free: 4.754 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002134/0.03543, allocations: 105.2 kB / 339.9 MB, free: 4.672 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.065e-05/0.0355, allocations: 8.125 kB / 339.9 MB, free: 4.668 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004171/0.03592, allocations: 25.72 kB / 339.9 MB, free: 4.656 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.896e-05/0.036, allocations: 24.2 kB / 339.9 MB, free: 4.641 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.357e-05/0.03602, allocations: 14.81 kB / 340 MB, free: 4.633 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003611/0.03638, allocations: 303.8 kB / 340.3 MB, free: 4.445 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.03638, allocations: 1.531 kB / 340.3 MB, free: 4.445 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004969/0.03688, allocations: 143.3 kB / 340.4 MB, free: 4.418 MB / 302.1 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.0001414/0.03702, allocations: 104.9 kB / 340.5 MB, free: 4.324 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001348/0.03837, allocations: 0.6517 MB / 341.1 MB, free: 3.832 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.03837, allocations: 1.406 kB / 341.1 MB, free: 3.832 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004426/0.03881, allocations: 168.2 kB / 341.3 MB, free: 3.758 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006901/0.0395, allocations: 129.1 kB / 341.4 MB, free: 3.691 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.04114, allocations: 0.8514 MB / 342.3 MB, free: 3.125 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/0.04137, allocations: 228.6 kB / 342.5 MB, free: 2.953 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002553/0.04163, allocations: 64.22 kB / 342.6 MB, free: 2.887 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/0.04176, allocations: 44.5 kB / 342.6 MB, free: 2.844 MB / 302.1 MB Notification: Performance of SimCode: time 3.81e-07/0.04176, allocations: 4 kB / 342.6 MB, free: 2.84 MB / 302.1 MB Notification: Performance of Templates: time 0.0175/0.05926, allocations: 9.241 MB / 351.9 MB, free: 9.824 MB / 318.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.577301986515522]