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.002134/0.002134, allocations: 112.5 kB / 18.45 MB, free: 4.605 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.002583/0.002583, allocations: 207.3 kB / 21.41 MB, free: 1.648 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.495/1.495, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.001614/0.001614, allocations: 47.94 kB / 374.1 MB, free: 9.719 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1145, allocations: 53.33 MB / 427.5 MB, free: 4.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.005217/0.1197, allocations: 3.075 MB / 430.5 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002218/0.122, allocations: 1.033 MB / 431.6 MB, free: 164 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000457/0.1224, allocations: 19.88 kB / 431.6 MB, free: 144 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004133/0.1228, allocations: 99.03 kB / 431.7 MB, free: 44 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2238/0.3466, allocations: 92.84 kB / 431.8 MB, free: 8.113 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007553/0.3474, allocations: 226.7 kB / 432 MB, free: 8.113 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006895/0.348, allocations: 0.5434 MB / 432.6 MB, free: 8.109 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003019/0.3483, allocations: 152.5 kB / 432.7 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003105/0.3487, allocations: 191 kB / 432.9 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001966/0.3489, allocations: 185.1 kB / 433.1 MB, free: 7.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.015e-05/0.3489, allocations: 35.97 kB / 433.1 MB, free: 7.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001397/0.3491, allocations: 53.66 kB / 433.2 MB, free: 7.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.645e-05/0.3491, allocations: 87.61 kB / 433.2 MB, free: 7.961 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001668/0.3493, allocations: 232.1 kB / 433.5 MB, free: 7.883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005855/0.3499, allocations: 0.5865 MB / 434.1 MB, free: 7.781 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.3499, allocations: 0 / 434.1 MB, free: 7.781 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3499, allocations: 0 / 434.1 MB, free: 7.781 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.918e-05/0.3499, allocations: 0.5 kB / 434.1 MB, free: 7.781 MB / 350.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.0008905/0.3508, allocations: 0.7588 MB / 434.8 MB, free: 7.258 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.3508, allocations: 8.906 kB / 434.8 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001982/0.351, allocations: 70 kB / 434.9 MB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005486/0.3516, allocations: 435.8 kB / 435.3 MB, free: 6.977 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/0.3516, allocations: 29.22 kB / 435.3 MB, free: 6.977 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.717e-05/0.3517, allocations: 42.7 kB / 435.4 MB, free: 6.973 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006487/0.3523, allocations: 489.1 kB / 435.9 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/0.3523, allocations: 5.812 kB / 435.9 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.287e-05/0.3524, allocations: 17.84 kB / 435.9 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.3524, allocations: 10.75 kB / 435.9 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004708/0.3528, allocations: 245 kB / 436.1 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001736/0.3546, allocations: 2.824 MB / 439 MB, free: 4.523 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004176/0.355, allocations: 155.4 kB / 439.1 MB, free: 4.492 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/0.3551, allocations: 69.14 kB / 439.2 MB, free: 4.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.315e-05/0.3552, allocations: 86.2 kB / 439.3 MB, free: 4.387 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.423e-05/0.3552, allocations: 34.22 kB / 439.3 MB, free: 4.348 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.272e-06/0.3552, allocations: 1.125 kB / 439.3 MB, free: 4.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001197/0.3564, allocations: 0.6346 MB / 439.9 MB, free: 3.945 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.3565, allocations: 57.89 kB / 440 MB, free: 3.883 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003966/0.3569, allocations: 348.1 kB / 440.3 MB, free: 3.699 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.3569, allocations: 25.7 kB / 440.4 MB, free: 3.668 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.357, allocations: 311.2 kB / 440.7 MB, free: 3.418 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.201e-05/0.3571, allocations: 66.8 kB / 440.7 MB, free: 3.367 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.942e-05/0.3572, allocations: 68.22 kB / 440.8 MB, free: 3.324 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.761e-05/0.3572, allocations: 346.5 kB / 441.1 MB, free: 2.996 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.3574, allocations: 69.17 kB / 441.2 MB, free: 2.973 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002092/0.3576, allocations: 219.2 kB / 441.4 MB, free: 2.754 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.0008745/0.3585, allocations: 0.5138 MB / 441.9 MB, free: 2.367 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.3585, allocations: 1.25 kB / 441.9 MB, free: 2.367 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006866/0.3592, allocations: 361.6 kB / 442.3 MB, free: 2.227 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.3592, allocations: 13.86 kB / 442.3 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.3592, allocations: 5.25 kB / 442.3 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002132/0.3594, allocations: 38.06 kB / 442.3 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003769/0.3598, allocations: 74.12 kB / 442.4 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009926/0.3608, allocations: 1.633 MB / 444 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.3609, allocations: 12.44 kB / 444.1 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.43e-05/0.361, allocations: 17.09 kB / 444.1 MB, free: 0.5977 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.0001748/0.3611, allocations: 172.5 kB / 444.2 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.366e-05/0.3612, allocations: 36.14 kB / 444.3 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.61e-05/0.3613, allocations: 38.03 kB / 444.3 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.3613, allocations: 7.016 kB / 444.3 MB, free: 408 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.3613, allocations: 3.094 kB / 444.3 MB, free: 408 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3613, allocations: 0.5156 kB / 444.3 MB, free: 408 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.3624, allocations: 0.7154 MB / 445 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.3624, allocations: 1.156 kB / 445 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/0.3626, allocations: 34.86 kB / 445.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.804e-05/0.3627, allocations: 23.62 kB / 445.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.3627, allocations: 6.172 kB / 445.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001243/0.3639, allocations: 1.439 MB / 446.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3639, allocations: 0 / 446.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006807/0.3646, allocations: 375.6 kB / 446.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.3647, allocations: 106.8 kB / 447 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.263e-05/0.3648, allocations: 5.75 kB / 447 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001801/0.365, allocations: 7.469 kB / 447 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.694e-05/0.365, allocations: 14.73 kB / 447 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.365, allocations: 4.609 kB / 447 MB, free: 14.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003213/0.3654, allocations: 233.9 kB / 447.3 MB, free: 13.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3654, allocations: 0 / 447.3 MB, free: 13.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004561/0.3658, allocations: 68.34 kB / 447.3 MB, free: 13.93 MB / 366.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.0001234/0.3659, allocations: 105 kB / 447.4 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000707/0.3666, allocations: 307.6 kB / 447.7 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3667, allocations: 4.5 kB / 447.7 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002886/0.3669, allocations: 179.9 kB / 447.9 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.3673, allocations: 39 kB / 448 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.369, allocations: 0.8929 MB / 448.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005348/0.3695, allocations: 0.8169 MB / 449.7 MB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.758e-05/0.3696, allocations: 31.97 kB / 449.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3696, allocations: 0 / 449.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of Templates: time 0.01131/0.3809, allocations: 6.47 MB / 456.2 MB, free: 10.88 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/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: 7.831879697012482]