Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001893/0.001893, allocations: 88.39 kB / 21.44 MB, free: 276 kB / 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.002205/0.002205, allocations: 166.8 kB / 24.71 MB, free: 3.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.427/1.427, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 298.9 MB, free: 8.738 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.289e-05/2.455e-05, allocations: 2.281 kB / 298.9 MB, free: 8.734 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004349/0.004373, allocations: 2.801 MB / 301.7 MB, free: 5.906 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001924/0.006298, allocations: 0.9833 MB / 302.7 MB, free: 4.918 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000175/0.006473, allocations: 15.88 kB / 302.7 MB, free: 4.902 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002792/0.006752, allocations: 99.03 kB / 302.8 MB, free: 4.805 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001954/0.006947, allocations: 90.97 kB / 302.9 MB, free: 4.715 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006205/0.007568, allocations: 235.5 kB / 303.1 MB, free: 4.484 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000723/0.008291, allocations: 0.5602 MB / 303.7 MB, free: 3.922 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003274/0.008618, allocations: 139.2 kB / 303.8 MB, free: 3.789 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003644/0.008982, allocations: 259.5 kB / 304.1 MB, free: 3.535 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000217/0.009199, allocations: 119.5 kB / 304.2 MB, free: 3.418 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.348e-05/0.009263, allocations: 36 kB / 304.3 MB, free: 3.383 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.009393, allocations: 63.84 kB / 304.3 MB, free: 3.32 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.791e-05/0.009491, allocations: 83.62 kB / 304.4 MB, free: 3.238 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001645/0.009656, allocations: 139.6 kB / 304.5 MB, free: 3.102 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007911/0.01045, allocations: 0.576 MB / 305.1 MB, free: 2.523 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.01045, allocations: 4 kB / 305.1 MB, free: 2.52 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.01045, allocations: 4 kB / 305.1 MB, free: 2.516 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.412e-05/0.01047, allocations: 0 / 305.1 MB, free: 2.516 MB / 286.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.001148/0.01162, allocations: 0.6764 MB / 305.8 MB, free: 1.805 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.01167, allocations: 15.97 kB / 305.8 MB, free: 1.789 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.01177, allocations: 64.31 kB / 305.9 MB, free: 1.727 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007497/0.01252, allocations: 351.5 kB / 306.2 MB, free: 1.355 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.243e-05/0.01256, allocations: 33 kB / 306.2 MB, free: 1.324 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.277e-05/0.01263, allocations: 40 kB / 306.3 MB, free: 1.285 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008603/0.01349, allocations: 483.4 kB / 306.8 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.618e-05/0.01353, allocations: 11.89 kB / 306.8 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.868e-05/0.01356, allocations: 20 kB / 306.8 MB, free: 0.707 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/0.01358, allocations: 12 kB / 306.8 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000596/0.01418, allocations: 242.2 kB / 307 MB, free: 468 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002605/0.01678, allocations: 2.618 MB / 309.7 MB, free: 13.72 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005018/0.01728, allocations: 150.7 kB / 309.8 MB, free: 13.56 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.01743, allocations: 64.88 kB / 309.9 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.707e-05/0.01752, allocations: 8 kB / 309.9 MB, free: 13.49 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.01756, allocations: 34.5 kB / 309.9 MB, free: 13.45 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.944e-06/0.01756, allocations: 0 / 309.9 MB, free: 13.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001459/0.01902, allocations: 0.5598 MB / 310.5 MB, free: 12.85 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/0.01907, allocations: 55.41 kB / 310.5 MB, free: 12.78 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004955/0.01957, allocations: 357.5 kB / 310.9 MB, free: 12.42 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.062e-05/0.0196, allocations: 33.7 kB / 310.9 MB, free: 12.38 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002724/0.01987, allocations: 303.7 kB / 311.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.523e-05/0.01996, allocations: 71.41 kB / 311.3 MB, free: 12.01 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.02009, allocations: 73.61 kB / 311.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002209/0.02031, allocations: 346.8 kB / 311.7 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.02048, allocations: 63.97 kB / 311.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003505/0.02083, allocations: 219.4 kB / 312 MB, free: 11.24 MB / 302.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.001064/0.02189, allocations: 447.2 kB / 312.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.0219, allocations: 3.938 kB / 312.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008116/0.02271, allocations: 358.1 kB / 312.7 MB, free: 10.37 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/0.02274, allocations: 11.94 kB / 312.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.02275, allocations: 4 kB / 312.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001794/0.02293, allocations: 32.84 kB / 312.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000265/0.02319, allocations: 79.84 kB / 312.9 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001641/0.02483, allocations: 1.505 MB / 314.4 MB, free: 8.633 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001731/0.02501, allocations: 20.06 kB / 314.4 MB, free: 8.613 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.651e-05/0.02503, allocations: 16 kB / 314.4 MB, free: 8.598 MB / 302.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.0002467/0.02528, allocations: 174.2 kB / 314.6 MB, free: 8.418 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.77e-05/0.02535, allocations: 39.77 kB / 314.6 MB, free: 8.379 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.791e-05/0.02543, allocations: 35.53 kB / 314.7 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.02543, allocations: 4.141 kB / 314.7 MB, free: 8.34 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.02544, allocations: 3.938 kB / 314.7 MB, free: 8.336 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.02545, allocations: 3.984 kB / 314.7 MB, free: 8.332 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/0.02654, allocations: 0.5661 MB / 315.2 MB, free: 7.723 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/0.02654, allocations: 3.984 kB / 315.2 MB, free: 7.719 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001883/0.02673, allocations: 31.98 kB / 315.3 MB, free: 7.688 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.276e-05/0.02683, allocations: 24.84 kB / 315.3 MB, free: 7.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/0.02685, allocations: 4 kB / 315.3 MB, free: 7.656 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001371/0.02822, allocations: 1.292 MB / 316.6 MB, free: 6.258 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.356e-05/0.02823, allocations: 7.922 kB / 316.6 MB, free: 6.25 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006697/0.0289, allocations: 361.4 kB / 316.9 MB, free: 5.875 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.376e-05/0.02895, allocations: 31.8 kB / 317 MB, free: 5.844 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.589e-05/0.02899, allocations: 11.94 kB / 317 MB, free: 5.832 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.0291, allocations: 0 / 317 MB, free: 5.832 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.784e-05/0.02917, allocations: 19.97 kB / 317 MB, free: 5.812 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.02918, allocations: 0 / 317 MB, free: 5.812 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003067/0.02949, allocations: 239.2 kB / 317.2 MB, free: 5.582 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.02949, allocations: 0 / 317.2 MB, free: 5.582 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004784/0.02997, allocations: 68 kB / 317.3 MB, free: 5.516 MB / 302.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.00017/0.03014, allocations: 99.42 kB / 317.4 MB, free: 5.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006976/0.03083, allocations: 314.5 kB / 317.7 MB, free: 5.094 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.03084, allocations: 192 / 317.7 MB, free: 5.094 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002867/0.03112, allocations: 178.6 kB / 317.9 MB, free: 4.906 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003826/0.03151, allocations: 45.41 kB / 317.9 MB, free: 4.859 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001714/0.03322, allocations: 0.7896 MB / 318.7 MB, free: 4.035 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.03347, allocations: 211.1 kB / 318.9 MB, free: 3.805 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000122/0.0336, allocations: 39.27 kB / 319 MB, free: 3.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.826e-05/0.03368, allocations: 32.48 kB / 319 MB, free: 3.738 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.03368, allocations: 4 kB / 319 MB, free: 3.734 MB / 302.1 MB Notification: Performance of Templates: time 0.008578/0.04225, allocations: 2.639 MB / 321.6 MB, free: 1.102 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.724845327436924]