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.001369/0.001369, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001446/0.001446, allocations: 212.3 kB / 23.73 MB, free: 4.16 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.478/1.478, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.002384/0.002384, allocations: 47.92 kB / 378.2 MB, free: 2.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2615, allocations: 53.38 MB / 431.6 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004261/0.2657, allocations: 2.836 MB / 434.4 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001832/0.2676, allocations: 0.9903 MB / 435.4 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001811/0.2677, allocations: 23.81 kB / 435.4 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002728/0.268, allocations: 95.05 kB / 435.5 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001874/0.2682, allocations: 91.02 kB / 435.6 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005615/0.2688, allocations: 231.6 kB / 435.8 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006079/0.2694, allocations: 0.541 MB / 436.4 MB, free: 1.926 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003132/0.2697, allocations: 139.2 kB / 436.5 MB, free: 1.781 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002951/0.27, allocations: 187.2 kB / 436.7 MB, free: 1.598 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002202/0.2702, allocations: 159 kB / 436.8 MB, free: 1.441 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.759e-05/0.2703, allocations: 40 kB / 436.9 MB, free: 1.402 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001313/0.2704, allocations: 59.92 kB / 436.9 MB, free: 1.344 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.744e-05/0.2705, allocations: 87.64 kB / 437 MB, free: 1.258 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001713/0.2706, allocations: 179 kB / 437.2 MB, free: 1.082 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006375/0.2713, allocations: 0.5895 MB / 437.8 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.2713, allocations: 0 / 437.8 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2713, allocations: 0 / 437.8 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.2713, allocations: 4 kB / 437.8 MB, free: 0.4922 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001006/0.2723, allocations: 0.6764 MB / 438.5 MB, free: 15.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.2723, allocations: 8.031 kB / 438.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002086/0.2726, allocations: 80.23 kB / 438.6 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006764/0.2732, allocations: 367.4 kB / 438.9 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.266e-05/0.2733, allocations: 29 kB / 438.9 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.917e-05/0.2733, allocations: 39.95 kB / 439 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007761/0.2741, allocations: 491.3 kB / 439.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.613e-05/0.2741, allocations: 7.938 kB / 439.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.371e-05/0.2742, allocations: 16 kB / 439.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.53e-05/0.2742, allocations: 16 kB / 439.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004925/0.2747, allocations: 250.1 kB / 439.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002316/0.277, allocations: 2.618 MB / 442.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000439/0.2774, allocations: 146.7 kB / 442.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001396/0.2776, allocations: 76.77 kB / 442.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.342e-05/0.2776, allocations: 4 kB / 442.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/0.2777, allocations: 38.5 kB / 442.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.372e-06/0.2777, allocations: 0 / 442.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001254/0.2789, allocations: 0.5587 MB / 443.2 MB, free: 10.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.209e-05/0.279, allocations: 55.41 kB / 443.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003872/0.2794, allocations: 357.5 kB / 443.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.2794, allocations: 25.7 kB / 443.6 MB, free: 10.33 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002256/0.2796, allocations: 311.8 kB / 443.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.393e-05/0.2797, allocations: 71.41 kB / 444 MB, free: 9.953 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.308e-05/0.2798, allocations: 69.61 kB / 444 MB, free: 9.879 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.28, allocations: 350.7 kB / 444.4 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.2801, allocations: 63.97 kB / 444.5 MB, free: 9.465 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002696/0.2804, allocations: 227.4 kB / 444.7 MB, free: 9.172 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.0009166/0.2813, allocations: 441.5 kB / 445.1 MB, free: 8.672 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.2813, allocations: 8 kB / 445.1 MB, free: 8.664 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005887/0.2819, allocations: 357 kB / 445.5 MB, free: 8.309 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.2819, allocations: 8 kB / 445.5 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.2819, allocations: 7.984 kB / 445.5 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001343/0.282, allocations: 40.84 kB / 445.5 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002407/0.2823, allocations: 71.84 kB / 445.6 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001328/0.2836, allocations: 1.497 MB / 447.1 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.2838, allocations: 16 kB / 447.1 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.219e-05/0.2838, allocations: 24.09 kB / 447.1 MB, free: 6.543 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.0002109/0.284, allocations: 169.7 kB / 447.3 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.151e-05/0.2841, allocations: 39.77 kB / 447.3 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.973e-05/0.2841, allocations: 35.47 kB / 447.4 MB, free: 6.293 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.2841, allocations: 4 kB / 447.4 MB, free: 6.289 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.2841, allocations: 0 / 447.4 MB, free: 6.289 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/0.2842, allocations: 3.984 kB / 447.4 MB, free: 6.285 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009083/0.2851, allocations: 0.5661 MB / 447.9 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.2851, allocations: 4 kB / 447.9 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001779/0.2852, allocations: 31.98 kB / 448 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.726e-05/0.2853, allocations: 24.84 kB / 448 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.2853, allocations: 4 kB / 448 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001022/0.2864, allocations: 1.3 MB / 449.3 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.2864, allocations: 11.95 kB / 449.3 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005409/0.2869, allocations: 371.8 kB / 449.7 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.063e-05/0.287, allocations: 31.77 kB / 449.7 MB, free: 3.773 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.287, allocations: 4 kB / 449.7 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.2871, allocations: 4 kB / 449.7 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.2871, allocations: 16.02 kB / 449.7 MB, free: 3.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.2871, allocations: 4 kB / 449.7 MB, free: 3.746 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002415/0.2874, allocations: 231.2 kB / 450 MB, free: 3.527 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2874, allocations: 0 / 450 MB, free: 3.527 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004286/0.2878, allocations: 68 kB / 450 MB, free: 3.461 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.0001264/0.2879, allocations: 111.2 kB / 450.1 MB, free: 3.344 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000551/0.2885, allocations: 303.7 kB / 450.4 MB, free: 3.035 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2885, allocations: 0 / 450.4 MB, free: 3.035 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002362/0.2887, allocations: 189.7 kB / 450.6 MB, free: 2.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/0.2891, allocations: 37.42 kB / 450.7 MB, free: 2.801 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.2905, allocations: 0.8646 MB / 451.5 MB, free: 1.906 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002211/0.2907, allocations: 211.2 kB / 451.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001199/0.2909, allocations: 39.27 kB / 451.8 MB, free: 1.637 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.158e-05/0.2909, allocations: 31.42 kB / 451.8 MB, free: 1.605 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2909, allocations: 0 / 451.8 MB, free: 1.605 MB / 350.1 MB Notification: Performance of Templates: time 0.007926/0.2988, allocations: 3.164 MB / 455 MB, free: 14.5 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 -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/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_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.520331921055913]