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.001274/0.001274, 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.001444/0.001444, allocations: 215.5 kB / 24.48 MB, free: 3.938 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.479/1.479, allocations: 230.6 MB / 258.2 MB, free: 7.73 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.001535/0.001535, allocations: 47.91 kB / 378.9 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2196, allocations: 53.36 MB / 432.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004211/0.2238, allocations: 2.835 MB / 435.1 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001749/0.2256, allocations: 0.9942 MB / 436.1 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001627/0.2257, allocations: 15.88 kB / 436.2 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002538/0.226, allocations: 95.05 kB / 436.2 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001913/0.2262, allocations: 95.02 kB / 436.3 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005058/0.2267, allocations: 231.6 kB / 436.6 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005995/0.2273, allocations: 0.541 MB / 437.1 MB, free: 1.887 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002846/0.2276, allocations: 154.1 kB / 437.3 MB, free: 1.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002658/0.2278, allocations: 183.3 kB / 437.4 MB, free: 1.551 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002126/0.2281, allocations: 179 kB / 437.6 MB, free: 1.375 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.673e-05/0.2281, allocations: 40 kB / 437.7 MB, free: 1.336 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.2282, allocations: 59.92 kB / 437.7 MB, free: 1.277 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.698e-05/0.2283, allocations: 87.64 kB / 437.8 MB, free: 1.191 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001709/0.2285, allocations: 179 kB / 438 MB, free: 1.016 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006792/0.2292, allocations: 0.5948 MB / 438.6 MB, free: 432 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.2292, allocations: 0 / 438.6 MB, free: 432 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2292, allocations: 0 / 438.6 MB, free: 432 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.2292, allocations: 0 / 438.6 MB, free: 432 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.001064/0.2302, allocations: 0.6764 MB / 439.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.2303, allocations: 12.02 kB / 439.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002215/0.2305, allocations: 72.31 kB / 439.3 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006925/0.2312, allocations: 367.4 kB / 439.7 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.912e-05/0.2312, allocations: 33 kB / 439.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.461e-05/0.2313, allocations: 43.95 kB / 439.8 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008149/0.2321, allocations: 491.3 kB / 440.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.639e-05/0.2321, allocations: 7.938 kB / 440.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.61e-05/0.2322, allocations: 16 kB / 440.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.2322, allocations: 12 kB / 440.3 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005152/0.2327, allocations: 250.1 kB / 440.5 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002434/0.2351, allocations: 2.622 MB / 443.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004249/0.2356, allocations: 142.7 kB / 443.3 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.2357, allocations: 72.81 kB / 443.4 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.536e-05/0.2358, allocations: 7.938 kB / 443.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.2358, allocations: 34.56 kB / 443.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.743e-06/0.2358, allocations: 0 / 443.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001278/0.2371, allocations: 0.5595 MB / 444 MB, free: 10.72 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.2371, allocations: 55.41 kB / 444 MB, free: 10.65 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003853/0.2375, allocations: 357.5 kB / 444.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.2375, allocations: 29.7 kB / 444.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002252/0.2378, allocations: 307.8 kB / 444.7 MB, free: 9.957 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.982e-05/0.2378, allocations: 67.42 kB / 444.7 MB, free: 9.891 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.803e-05/0.2379, allocations: 69.61 kB / 444.8 MB, free: 9.816 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.2381, allocations: 354.7 kB / 445.2 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.2383, allocations: 75.89 kB / 445.2 MB, free: 9.387 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000276/0.2385, allocations: 215.5 kB / 445.4 MB, free: 9.105 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.001001/0.2395, allocations: 447.8 kB / 445.9 MB, free: 8.602 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.2395, allocations: 4 kB / 445.9 MB, free: 8.598 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000602/0.2401, allocations: 364.5 kB / 446.2 MB, free: 8.234 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.2402, allocations: 8 kB / 446.3 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.2402, allocations: 8 kB / 446.3 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001404/0.2403, allocations: 40.78 kB / 446.3 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002479/0.2406, allocations: 67.91 kB / 446.4 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001373/0.2419, allocations: 1.505 MB / 447.9 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.2421, allocations: 15.98 kB / 447.9 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.522e-05/0.2421, allocations: 20 kB / 447.9 MB, free: 6.469 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.000194/0.2423, allocations: 161.8 kB / 448.1 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.021e-05/0.2424, allocations: 35.77 kB / 448.1 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.203e-05/0.2424, allocations: 39.47 kB / 448.1 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.2424, allocations: 7.984 kB / 448.1 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.2424, allocations: 4.062 kB / 448.2 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2424, allocations: 0 / 448.2 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00092/0.2434, allocations: 0.5613 MB / 448.7 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2434, allocations: 0 / 448.7 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002028/0.2436, allocations: 35.98 kB / 448.7 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.902e-05/0.2436, allocations: 24.84 kB / 448.8 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.2437, allocations: 4 kB / 448.8 MB, free: 5.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001084/0.2447, allocations: 1.315 MB / 450.1 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2447, allocations: 4.031 kB / 450.1 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005556/0.2453, allocations: 368.1 kB / 450.5 MB, free: 3.738 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.899e-05/0.2454, allocations: 31.77 kB / 450.5 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.93e-05/0.2454, allocations: 4 kB / 450.5 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.2455, allocations: 8.031 kB / 450.5 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.616e-05/0.2456, allocations: 11.98 kB / 450.5 MB, free: 3.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.2456, allocations: 4 kB / 450.5 MB, free: 3.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002529/0.2458, allocations: 231.2 kB / 450.7 MB, free: 3.457 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2458, allocations: 8.062 kB / 450.7 MB, free: 3.449 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004378/0.2463, allocations: 64 kB / 450.8 MB, free: 3.387 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inverseCapacity.mass.T,capacitor3a.T,capacitor3b.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 (15): * Single equations (assignments): 14 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001127/0.2464, allocations: 111.1 kB / 450.9 MB, free: 3.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006055/0.247, allocations: 307.7 kB / 451.2 MB, free: 2.957 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.247, allocations: 0 / 451.2 MB, free: 2.957 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002497/0.2472, allocations: 178.6 kB / 451.4 MB, free: 2.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.2476, allocations: 45.34 kB / 451.4 MB, free: 2.723 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.249, allocations: 0.8647 MB / 452.3 MB, free: 1.828 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002181/0.2492, allocations: 211.2 kB / 452.5 MB, free: 1.598 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001185/0.2494, allocations: 43.25 kB / 452.5 MB, free: 1.555 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.428e-05/0.2494, allocations: 31.42 kB / 452.6 MB, free: 1.523 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2494, allocations: 0 / 452.6 MB, free: 1.523 MB / 350.1 MB Notification: Performance of Templates: time 0.007954/0.2574, allocations: 3.267 MB / 455.8 MB, free: 14.32 MB / 366.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 -s gbode -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.433528438996291]