Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.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.001339/0.001339, allocations: 110.8 kB / 21.19 MB, free: 0.6641 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.001449/0.001449, allocations: 209.3 kB / 24.49 MB, free: 3.965 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.461/1.461, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.HeatTransfer.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|capacitor3a.T|capacitor3b.T|directCapacity.heatCapacitor.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") translateModel(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|capacitor3a.T|capacitor3b.T|directCapacity.heatCapacitor.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001575/0.001575, allocations: 55.92 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.2064, allocations: 53.36 MB / 432.3 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004146/0.2105, allocations: 2.825 MB / 435.2 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001652/0.2122, allocations: 0.9981 MB / 436.1 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001504/0.2123, allocations: 11.88 kB / 436.2 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002343/0.2126, allocations: 95.05 kB / 436.3 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002024/0.2128, allocations: 106.9 kB / 436.4 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004838/0.2132, allocations: 231.6 kB / 436.6 MB, free: 2.461 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005686/0.2138, allocations: 0.541 MB / 437.1 MB, free: 1.918 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002788/0.2141, allocations: 150.1 kB / 437.3 MB, free: 1.766 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002693/0.2144, allocations: 187.2 kB / 437.5 MB, free: 1.582 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.2146, allocations: 182.9 kB / 437.6 MB, free: 1.402 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.42e-05/0.2146, allocations: 36 kB / 437.7 MB, free: 1.367 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.2147, allocations: 59.98 kB / 437.7 MB, free: 1.309 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.569e-05/0.2148, allocations: 87.64 kB / 437.8 MB, free: 1.223 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001668/0.215, allocations: 179 kB / 438 MB, free: 1.047 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006139/0.2156, allocations: 0.5869 MB / 438.6 MB, free: 472 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.2156, allocations: 0 / 438.6 MB, free: 472 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2156, allocations: 0 / 438.6 MB, free: 472 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.273e-06/0.2156, allocations: 0 / 438.6 MB, free: 472 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001011/0.2166, allocations: 0.6842 MB / 439.3 MB, free: 15.74 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.2167, allocations: 16.02 kB / 439.3 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000206/0.2169, allocations: 68.31 kB / 439.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006298/0.2175, allocations: 355.4 kB / 439.7 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.302e-05/0.2175, allocations: 33 kB / 439.7 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.715e-05/0.2176, allocations: 47.95 kB / 439.8 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007843/0.2184, allocations: 491.2 kB / 440.2 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/0.2184, allocations: 4 kB / 440.2 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.717e-05/0.2184, allocations: 16 kB / 440.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.408e-05/0.2185, allocations: 12 kB / 440.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005033/0.219, allocations: 246.1 kB / 440.5 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002255/0.2212, allocations: 2.634 MB / 443.2 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000414/0.2216, allocations: 150.6 kB / 443.3 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.2218, allocations: 60.88 kB / 443.4 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.012e-05/0.2218, allocations: 15.92 kB / 443.4 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.2219, allocations: 34.56 kB / 443.4 MB, free: 11.35 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.432e-06/0.2219, allocations: 0 / 443.4 MB, free: 11.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001252/0.2231, allocations: 0.5661 MB / 444 MB, free: 10.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.2232, allocations: 55.41 kB / 444 MB, free: 10.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003676/0.2235, allocations: 353.5 kB / 444.4 MB, free: 10.33 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.2236, allocations: 33.7 kB / 444.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000215/0.2238, allocations: 303.8 kB / 444.7 MB, free: 9.988 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.456e-05/0.2238, allocations: 63.42 kB / 444.8 MB, free: 9.926 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.447e-05/0.2239, allocations: 73.61 kB / 444.8 MB, free: 9.848 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.2241, allocations: 346.8 kB / 445.2 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.2242, allocations: 67.95 kB / 445.2 MB, free: 9.434 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002624/0.2245, allocations: 229 kB / 445.5 MB, free: 9.141 MB / 350.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: inverseCapacity.mass.T = $START.inverseCapacity.mass.T ($START.directCapacity.heatFlowToTemperature.y = $START.inverseCapacity.mass.T) Notification: Performance of analyzeInitialSystem (initialization): time 0.0009393/0.2254, allocations: 445.9 kB / 445.9 MB, free: 8.637 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.164e-06/0.2254, allocations: 4 kB / 445.9 MB, free: 8.633 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006137/0.226, allocations: 360.4 kB / 446.3 MB, free: 8.273 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.2261, allocations: 8 kB / 446.3 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.2261, allocations: 8 kB / 446.3 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001277/0.2262, allocations: 32.84 kB / 446.3 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002605/0.2265, allocations: 72.56 kB / 446.4 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001315/0.2278, allocations: 1.508 MB / 447.9 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.2279, allocations: 11.98 kB / 447.9 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.807e-05/0.228, allocations: 20 kB / 447.9 MB, free: 6.512 MB / 350.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: inverseCapacity.mass.T = $START.inverseCapacity.mass.T. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001865/0.2281, allocations: 168.9 kB / 448.1 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.104e-05/0.2282, allocations: 35.91 kB / 448.1 MB, free: 6.305 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.568e-05/0.2283, allocations: 43.45 kB / 448.2 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.2283, allocations: 8.047 kB / 448.2 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.2283, allocations: 8 kB / 448.2 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.841e-05/0.2283, allocations: 27.77 kB / 448.2 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.823e-05/0.2284, allocations: 7.938 kB / 448.2 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.2285, allocations: 4 kB / 448.2 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.023e-05/0.2285, allocations: 15.97 kB / 448.2 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005565/0.2291, allocations: 276.4 kB / 448.5 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005153/0.2296, allocations: 430.3 kB / 448.9 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001274/0.2297, allocations: 55.88 kB / 449 MB, free: 5.422 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002397/0.23, allocations: 235.1 kB / 449.2 MB, free: 5.191 MB / 350.1 MB Notification: Performance of Backend: time 4.21e-07/0.23, allocations: 4 kB / 449.2 MB, free: 5.188 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007934/0.2308, allocations: 350 kB / 449.5 MB, free: 4.824 MB / 350.1 MB Notification: Performance of SimCode: time 0.001535/0.2323, allocations: 1.313 MB / 450.9 MB, free: 3.461 MB / 350.1 MB Notification: Performance of Templates: time 0.008269/0.2406, allocations: 3.472 MB / 454.3 MB, free: 48 kB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.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.258549551996111]