Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.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.001368/0.001368, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001509/0.001509, allocations: 206.3 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 230.5 MB / 257.4 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|capacitor3a.T|capacitor3b.T|directCapacity.heatCapacitor.T",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002163/0.002163, allocations: 63.91 kB / 378.2 MB, free: 2.422 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2384, allocations: 53.42 MB / 431.6 MB, free: 6.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004295/0.2427, allocations: 2.817 MB / 434.4 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001792/0.2445, allocations: 0.9903 MB / 435.4 MB, free: 2.715 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001659/0.2446, allocations: 19.81 kB / 435.5 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002435/0.2449, allocations: 87.11 kB / 435.5 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001896/0.2451, allocations: 110.9 kB / 435.7 MB, free: 2.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005684/0.2456, allocations: 227.6 kB / 435.9 MB, free: 2.277 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005953/0.2462, allocations: 0.5371 MB / 436.4 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002768/0.2465, allocations: 143.2 kB / 436.6 MB, free: 1.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002909/0.2468, allocations: 183.2 kB / 436.7 MB, free: 1.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002149/0.247, allocations: 170.9 kB / 436.9 MB, free: 1.242 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.732e-05/0.2471, allocations: 36 kB / 436.9 MB, free: 1.207 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.2472, allocations: 59.98 kB / 437 MB, free: 1.148 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.792e-05/0.2473, allocations: 83.64 kB / 437.1 MB, free: 1.066 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001702/0.2475, allocations: 179 kB / 437.2 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006389/0.2481, allocations: 0.5923 MB / 437.8 MB, free: 308 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2481, allocations: 0 / 437.8 MB, free: 308 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2481, allocations: 0 / 437.8 MB, free: 308 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.2481, allocations: 3.984 kB / 437.8 MB, free: 304 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.001058/0.2492, allocations: 0.6842 MB / 438.5 MB, free: 15.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.2492, allocations: 15.98 kB / 438.5 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002048/0.2494, allocations: 68.31 kB / 438.6 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006396/0.25, allocations: 355.4 kB / 439 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.404e-05/0.2501, allocations: 33 kB / 439 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.377e-05/0.2502, allocations: 43.95 kB / 439 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007709/0.2509, allocations: 491.2 kB / 439.5 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/0.251, allocations: 4 kB / 439.5 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.656e-05/0.251, allocations: 19.98 kB / 439.5 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.251, allocations: 12 kB / 439.5 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005073/0.2515, allocations: 246.1 kB / 439.8 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002299/0.2538, allocations: 2.622 MB / 442.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004352/0.2542, allocations: 150.6 kB / 442.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.2544, allocations: 64.88 kB / 442.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.924e-05/0.2545, allocations: 11.98 kB / 442.6 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.2545, allocations: 38.55 kB / 442.7 MB, free: 11.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.293e-06/0.2545, allocations: 0 / 442.7 MB, free: 11.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001291/0.2558, allocations: 0.5629 MB / 443.2 MB, free: 10.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.2558, allocations: 51.41 kB / 443.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003823/0.2562, allocations: 357.5 kB / 443.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.2562, allocations: 29.7 kB / 443.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002278/0.2565, allocations: 307.8 kB / 444 MB, free: 9.836 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.578e-05/0.2565, allocations: 67.41 kB / 444 MB, free: 9.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.2566, allocations: 81.53 kB / 444.1 MB, free: 9.684 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.2568, allocations: 346.8 kB / 444.4 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.2569, allocations: 67.95 kB / 444.5 MB, free: 9.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002624/0.2572, allocations: 226.4 kB / 444.7 MB, free: 8.98 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.0009295/0.2581, allocations: 454.1 kB / 445.2 MB, free: 8.473 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2581, allocations: 0 / 445.2 MB, free: 8.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006206/0.2587, allocations: 365 kB / 445.5 MB, free: 8.109 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.2588, allocations: 10.97 kB / 445.5 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.2588, allocations: 8 kB / 445.6 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001369/0.2589, allocations: 32.84 kB / 445.6 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002464/0.2592, allocations: 75.84 kB / 445.7 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/0.2606, allocations: 1.497 MB / 447.2 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001573/0.2607, allocations: 15.98 kB / 447.2 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.233e-05/0.2608, allocations: 16 kB / 447.2 MB, free: 6.355 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.000214/0.261, allocations: 169.8 kB / 447.4 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.362e-05/0.261, allocations: 35.91 kB / 447.4 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.87e-05/0.2611, allocations: 51.44 kB / 447.4 MB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.2611, allocations: 0 / 447.4 MB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.2611, allocations: 0 / 447.4 MB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.2611, allocations: 4 kB / 447.4 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009147/0.262, allocations: 0.5506 MB / 448 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.262, allocations: 4 kB / 448 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001865/0.2622, allocations: 39.94 kB / 448 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.215e-05/0.2623, allocations: 24.86 kB / 448.1 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.2623, allocations: 7.984 kB / 448.1 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001041/0.2634, allocations: 1.304 MB / 449.4 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2634, allocations: 0 / 449.4 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000529/0.2639, allocations: 365.2 kB / 449.7 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.976e-05/0.264, allocations: 31.77 kB / 449.8 MB, free: 3.594 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.264, allocations: 304 / 449.8 MB, free: 3.594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.2641, allocations: 16.03 kB / 449.8 MB, free: 3.578 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.699e-05/0.2641, allocations: 7.984 kB / 449.8 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.2642, allocations: 7.984 kB / 449.8 MB, free: 3.562 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002522/0.2644, allocations: 243.2 kB / 450 MB, free: 3.328 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2644, allocations: 0 / 450 MB, free: 3.328 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00043/0.2648, allocations: 71.94 kB / 450.1 MB, free: 3.258 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.0001167/0.265, allocations: 99.23 kB / 450.2 MB, free: 3.152 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000575/0.2655, allocations: 302.3 kB / 450.5 MB, free: 2.844 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2655, allocations: 0 / 450.5 MB, free: 2.844 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002405/0.2658, allocations: 183.9 kB / 450.7 MB, free: 2.652 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.2661, allocations: 49.42 kB / 450.7 MB, free: 2.602 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.2676, allocations: 0.8605 MB / 451.6 MB, free: 1.711 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/0.2678, allocations: 211.1 kB / 451.8 MB, free: 1.477 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001151/0.2679, allocations: 35.28 kB / 451.8 MB, free: 1.441 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.953e-05/0.268, allocations: 39.42 kB / 451.9 MB, free: 1.402 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.268, allocations: 0 / 451.9 MB, free: 1.402 MB / 350.1 MB Notification: Performance of Templates: time 0.008003/0.276, allocations: 3.167 MB / 455 MB, free: 14.3 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.457038272172213]