Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001301/0.001301, allocations: 114.3 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001432/0.001432, allocations: 210.3 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.412/1.412, allocations: 230.4 MB / 258.1 MB, free: 8.145 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass1.T|mass2.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") translateModel(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass1.T|mass2.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 67.83 kB / 378.7 MB, free: 2.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2161, allocations: 53.32 MB / 432 MB, free: 7.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.002705/0.2188, allocations: 1.636 MB / 433.7 MB, free: 5.773 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008772/0.2197, allocations: 0.5611 MB / 434.2 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.278e-05/0.2197, allocations: 0 / 434.2 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.947e-05/0.2197, allocations: 15.8 kB / 434.3 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.327e-05/0.2198, allocations: 27.77 kB / 434.3 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001955/0.22, allocations: 35.84 kB / 434.3 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001437/0.2202, allocations: 99.59 kB / 434.4 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.2203, allocations: 27.97 kB / 434.4 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.234e-05/0.2203, allocations: 39.86 kB / 434.5 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.325e-05/0.2204, allocations: 39.84 kB / 434.5 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.2204, allocations: 8 kB / 434.5 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.264e-05/0.2205, allocations: 12 kB / 434.5 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.789e-05/0.2205, allocations: 23.91 kB / 434.6 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.198e-05/0.2206, allocations: 35.88 kB / 434.6 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.2207, allocations: 101.6 kB / 434.7 MB, free: 4.75 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.808e-06/0.2208, allocations: 8 kB / 434.7 MB, free: 4.742 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2208, allocations: 0 / 434.7 MB, free: 4.742 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.2208, allocations: 0 / 434.7 MB, free: 4.742 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005071/0.2213, allocations: 379.2 kB / 435.1 MB, free: 4.324 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.2213, allocations: 8.031 kB / 435.1 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.2214, allocations: 20.83 kB / 435.1 MB, free: 4.297 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.2216, allocations: 176.3 kB / 435.3 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.2216, allocations: 4.375 kB / 435.3 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.975e-05/0.2216, allocations: 12.38 kB / 435.3 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.2218, allocations: 85.98 kB / 435.4 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.2218, allocations: 3.938 kB / 435.4 MB, free: 3.977 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.2218, allocations: 0 / 435.4 MB, free: 3.977 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.2218, allocations: 3.984 kB / 435.4 MB, free: 3.973 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.2219, allocations: 47.98 kB / 435.4 MB, free: 3.926 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006771/0.2226, allocations: 412.5 kB / 435.8 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.2227, allocations: 62.56 kB / 435.9 MB, free: 3.402 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.614e-05/0.2228, allocations: 32.84 kB / 435.9 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.2228, allocations: 0 / 435.9 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.2228, allocations: 30.56 kB / 436 MB, free: 3.328 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.2228, allocations: 0 / 436 MB, free: 3.328 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002051/0.223, allocations: 89.56 kB / 436 MB, free: 3.234 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.2231, allocations: 55.56 kB / 436.1 MB, free: 3.168 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.555e-05/0.2231, allocations: 110 kB / 436.2 MB, free: 3.051 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.2232, allocations: 25.7 kB / 436.2 MB, free: 3.02 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.701e-05/0.2232, allocations: 111.9 kB / 436.3 MB, free: 2.906 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.838e-05/0.2233, allocations: 31.73 kB / 436.4 MB, free: 2.875 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.552e-05/0.2233, allocations: 25.72 kB / 436.4 MB, free: 2.844 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.2234, allocations: 314.8 kB / 436.7 MB, free: 2.527 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.267e-05/0.2235, allocations: 20 kB / 436.7 MB, free: 2.508 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.275e-05/0.2235, allocations: 46.56 kB / 436.8 MB, free: 2.453 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001057/0.2237, allocations: 74.5 kB / 436.8 MB, free: 2.371 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2237, allocations: 0 / 436.8 MB, free: 2.371 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001652/0.2238, allocations: 109.5 kB / 436.9 MB, free: 2.258 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.2238, allocations: 4 kB / 436.9 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.2238, allocations: 8.359 kB / 437 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.2239, allocations: 4 kB / 437 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.224, allocations: 32.11 kB / 437 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.224, allocations: 0 / 437 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.957e-05/0.224, allocations: 15.94 kB / 437 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.224, allocations: 3.984 kB / 437 MB, free: 2.191 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 13 * 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 prepare postOptimizeDAE: time 8.637e-05/0.2241, allocations: 113.8 kB / 437.1 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.978e-05/0.2242, allocations: 7.953 kB / 437.1 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.702e-05/0.2242, allocations: 8.375 kB / 437.1 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.2242, allocations: 11.92 kB / 437.2 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.2242, allocations: 0 / 437.2 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.805e-05/0.2242, allocations: 85.06 kB / 437.2 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.2243, allocations: 4 kB / 437.2 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.891e-05/0.2243, allocations: 0 / 437.2 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.932e-05/0.2243, allocations: 4 kB / 437.2 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002506/0.2246, allocations: 168.9 kB / 437.4 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000243/0.2248, allocations: 274.7 kB / 437.7 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.827e-05/0.2249, allocations: 16.02 kB / 437.7 MB, free: 1.461 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.002e-05/0.2249, allocations: 91.22 kB / 437.8 MB, free: 1.371 MB / 334.1 MB Notification: Performance of Backend: time 2.71e-07/0.2249, allocations: 0 / 437.8 MB, free: 1.371 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003842/0.2253, allocations: 118.3 kB / 437.9 MB, free: 1.25 MB / 334.1 MB Notification: Performance of SimCode: time 0.0007286/0.226, allocations: 0.7572 MB / 438.7 MB, free: 448 kB / 334.1 MB Notification: Performance of Templates: time 0.00322/0.2292, allocations: 0.7608 MB / 439.4 MB, free: 15.68 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.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.056439378298819]