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.001508/0.001508, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.001881/0.001881, allocations: 216.4 kB / 24.48 MB, free: 3.941 MB / 14.72 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 1.937/1.937, allocations: 230.6 MB / 258.3 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002397/0.002397, allocations: 51.92 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3383, allocations: 53.38 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.008372/0.3466, allocations: 3.362 MB / 435.7 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002568/0.3492, allocations: 0.9618 MB / 436.7 MB, free: 2.371 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003157/0.3495, allocations: 7.938 kB / 436.7 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004219/0.3499, allocations: 107.1 kB / 436.8 MB, free: 2.258 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008637/0.3586, allocations: 202.3 kB / 437 MB, free: 2.059 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004524/0.359, allocations: 127.8 kB / 437.1 MB, free: 1.934 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001069/0.3601, allocations: 0.6925 MB / 437.8 MB, free: 1.238 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002598/0.3627, allocations: 130.9 kB / 437.9 MB, free: 1.105 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004403/0.3631, allocations: 267 kB / 438.2 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004406/0.3636, allocations: 294.8 kB / 438.5 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000118/0.3637, allocations: 56 kB / 438.5 MB, free: 0.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001379/0.3638, allocations: 63.94 kB / 438.6 MB, free: 448 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001374/0.364, allocations: 127.5 kB / 438.7 MB, free: 320 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003396/0.3643, allocations: 254.9 kB / 439 MB, free: 64 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001036/0.3653, allocations: 0.7034 MB / 439.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3653, allocations: 0 / 439.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.3653, allocations: 4 kB / 439.7 MB, free: 15.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.3654, allocations: 0 / 439.7 MB, free: 15.35 MB / 350.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.002089/0.3674, allocations: 0.8255 MB / 440.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.67e-05/0.3675, allocations: 16.03 kB / 440.5 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001704/0.3677, allocations: 68.52 kB / 440.6 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009945/0.3687, allocations: 381 kB / 440.9 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001544/0.3688, allocations: 110.3 kB / 441 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.436e-05/0.3689, allocations: 36.33 kB / 441.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009912/0.3788, allocations: 0.8579 MB / 441.9 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.187e-05/0.3789, allocations: 0 / 441.9 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.961e-05/0.379, allocations: 20 kB / 442 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.379, allocations: 4 kB / 442 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/0.3801, allocations: 334.4 kB / 442.3 MB, free: 12.49 MB / 350.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.003241/0.3833, allocations: 0.9324 MB / 443.2 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008522/0.3842, allocations: 286.4 kB / 443.5 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004994/0.3847, allocations: 160.8 kB / 443.7 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.905e-05/0.3847, allocations: 11.98 kB / 443.7 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.287e-05/0.3848, allocations: 42.55 kB / 443.7 MB, free: 11.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 2.374e-06/0.3848, allocations: 0 / 443.7 MB, free: 11.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.001962/0.3868, allocations: 0.5673 MB / 444.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002614/0.387, allocations: 452.9 kB / 444.7 MB, free: 9.883 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006306/0.3876, allocations: 422 kB / 445.1 MB, free: 9.465 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.346e-05/0.3877, allocations: 33.7 kB / 445.2 MB, free: 9.426 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002357/0.3879, allocations: 248.5 kB / 445.4 MB, free: 9.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001416/0.3881, allocations: 130.8 kB / 445.5 MB, free: 9.051 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001791/0.3883, allocations: 81.47 kB / 445.6 MB, free: 8.965 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.3884, allocations: 362.7 kB / 446 MB, free: 8.602 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005015/0.389, allocations: 157.6 kB / 446.1 MB, free: 8.441 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008919/0.3898, allocations: 0.6856 MB / 446.8 MB, free: 7.602 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004672/0.3945, allocations: 345.1 kB / 447.1 MB, free: 7.254 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.3945, allocations: 0 / 447.1 MB, free: 7.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001353/0.3959, allocations: 0.4997 MB / 447.6 MB, free: 6.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.296e-05/0.3959, allocations: 37.67 kB / 447.7 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.3959, allocations: 0 / 447.7 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001986/0.3961, allocations: 53.69 kB / 447.7 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005419/0.3967, allocations: 83.88 kB / 447.8 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01181/0.4085, allocations: 2.705 MB / 450.5 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000664/0.4091, allocations: 55.73 kB / 450.6 MB, free: 3.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.271e-05/0.4092, allocations: 15.98 kB / 450.6 MB, free: 3.559 MB / 350.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.0003079/0.4095, allocations: 169.7 kB / 450.8 MB, free: 3.383 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.4096, allocations: 51.72 kB / 450.8 MB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001321/0.4097, allocations: 52.58 kB / 450.9 MB, free: 3.281 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.4097, allocations: 0 / 450.9 MB, free: 3.281 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/0.4098, allocations: 4 kB / 450.9 MB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003835/0.4136, allocations: 0.7231 MB / 451.6 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002018/0.4156, allocations: 0.8526 MB / 452.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.4156, allocations: 0 / 452.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000594/0.4162, allocations: 99.86 kB / 452.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.4162, allocations: 0 / 452.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.364e-05/0.4162, allocations: 8 kB / 452.5 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.4162, allocations: 4 kB / 452.6 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4162, allocations: 0 / 452.6 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001672/0.4179, allocations: 0.6495 MB / 453.2 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000255/0.4182, allocations: 87.62 kB / 453.3 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.571e-05/0.4183, allocations: 12.06 kB / 453.3 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004959/0.4188, allocations: 31.97 kB / 453.3 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.519e-05/0.4188, allocations: 27.89 kB / 453.4 MB, free: 0.625 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.531e-05/0.4189, allocations: 4 kB / 453.4 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000447/0.4193, allocations: 311.1 kB / 453.7 MB, free: 328 kB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4193, allocations: 0 / 453.7 MB, free: 328 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006308/0.4199, allocations: 139.8 kB / 453.8 MB, free: 188 kB / 350.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.004052/0.424, allocations: 107.2 kB / 453.9 MB, free: 72 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001605/0.4256, allocations: 0.6426 MB / 454.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.4256, allocations: 4 kB / 454.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005228/0.4261, allocations: 171.8 kB / 454.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008851/0.427, allocations: 129.6 kB / 454.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002098/0.4291, allocations: 0.9377 MB / 455.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.4294, allocations: 228.5 kB / 456 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003128/0.4297, allocations: 60.23 kB / 456.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/0.4299, allocations: 39.42 kB / 456.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4299, allocations: 0 / 456.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of Templates: time 0.04148/0.4713, allocations: 10.1 MB / 466.2 MB, free: 3.906 MB / 366.1 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=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 6.947288801005925]