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.0009758/0.0009758, allocations: 77.97 kB / 21.42 MB, free: 3.066 MB / 18.57 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.001014/0.001014, allocations: 165.1 kB / 24.82 MB, free: 9.312 MB / 18.57 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.001/1.001, allocations: 177.1 MB / 205.3 MB, free: 5.527 MB / 186.7 MB " [Timeout remaining time 179] 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 1.603e-06/1.603e-06, allocations: 0 / 273.4 MB, free: 1.348 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.135e-05/1.296e-05, allocations: 6.25 kB / 273.4 MB, free: 1.34 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.002872/0.002885, allocations: 2.958 MB / 276.3 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001286/0.004171, allocations: 1.017 MB / 277.3 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001629/0.004334, allocations: 11.88 kB / 277.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002164/0.00455, allocations: 95.05 kB / 277.5 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001391/0.004689, allocations: 118.8 kB / 277.6 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000413/0.005102, allocations: 227.5 kB / 277.8 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004011/0.005503, allocations: 0.5641 MB / 278.4 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002206/0.005724, allocations: 143.2 kB / 278.5 MB, free: 12.19 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002941/0.006018, allocations: 279.3 kB / 278.8 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.006157, allocations: 123.5 kB / 278.9 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.345e-05/0.006201, allocations: 36 kB / 278.9 MB, free: 11.76 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.588e-05/0.006297, allocations: 55.98 kB / 279 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.686e-05/0.006344, allocations: 83.62 kB / 279.1 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.307e-05/0.006437, allocations: 143.6 kB / 279.2 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003446/0.006781, allocations: 374.4 kB / 279.6 MB, free: 11.11 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.006784, allocations: 4 kB / 279.6 MB, free: 11.11 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.006785, allocations: 0 / 279.6 MB, free: 11.11 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.00679, allocations: 0 / 279.6 MB, free: 11.11 MB / 266.7 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.0006476/0.007438, allocations: 0.7762 MB / 280.3 MB, free: 10.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.007481, allocations: 12.03 kB / 280.4 MB, free: 10.28 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001573/0.007638, allocations: 108.3 kB / 280.5 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000353/0.007991, allocations: 382.3 kB / 280.8 MB, free: 9.773 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.008012, allocations: 32.94 kB / 280.9 MB, free: 9.742 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.331e-05/0.008055, allocations: 47.92 kB / 280.9 MB, free: 9.695 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003905/0.008445, allocations: 481.1 kB / 281.4 MB, free: 9.121 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.008464, allocations: 0 / 281.4 MB, free: 9.121 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/0.008485, allocations: 20 kB / 281.4 MB, free: 9.102 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.008495, allocations: 8 kB / 281.4 MB, free: 9.094 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001801/0.008675, allocations: 150.8 kB / 281.6 MB, free: 8.945 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001542/0.01022, allocations: 3.626 MB / 285.2 MB, free: 5.176 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002455/0.01046, allocations: 107.2 kB / 285.3 MB, free: 5.059 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.518e-05/0.01051, allocations: 35.67 kB / 285.3 MB, free: 5.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.476e-05/0.01057, allocations: 4 kB / 285.3 MB, free: 5.016 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.0106, allocations: 45.33 kB / 285.4 MB, free: 4.961 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.212e-06/0.0106, allocations: 4 kB / 285.4 MB, free: 4.957 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.000597/0.0112, allocations: 406 kB / 285.8 MB, free: 4.523 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.568e-05/0.01122, allocations: 55.41 kB / 285.8 MB, free: 4.457 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.01144, allocations: 386.4 kB / 286.2 MB, free: 4.066 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.01145, allocations: 29.7 kB / 286.2 MB, free: 4.031 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.01161, allocations: 362.4 kB / 286.6 MB, free: 3.668 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.535e-05/0.01164, allocations: 63.47 kB / 286.7 MB, free: 3.605 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.642e-05/0.01171, allocations: 75.28 kB / 286.7 MB, free: 3.523 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.01185, allocations: 0.5195 MB / 287.2 MB, free: 2.992 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.844e-05/0.01189, allocations: 31.97 kB / 287.3 MB, free: 2.961 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.01202, allocations: 252.5 kB / 287.5 MB, free: 2.617 MB / 266.7 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.0003026/0.01232, allocations: 366.5 kB / 287.9 MB, free: 2.168 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.01232, allocations: 0 / 287.9 MB, free: 2.168 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002769/0.0126, allocations: 297.1 kB / 288.2 MB, free: 1.867 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.01261, allocations: 12 kB / 288.2 MB, free: 1.855 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.01262, allocations: 4 kB / 288.2 MB, free: 1.852 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001034/0.01272, allocations: 39.59 kB / 288.2 MB, free: 1.809 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.01286, allocations: 71.91 kB / 288.3 MB, free: 1.738 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009747/0.01383, allocations: 2.017 MB / 290.3 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.015e-05/0.01391, allocations: 8 kB / 290.3 MB, free: 15.6 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.01393, allocations: 24.02 kB / 290.3 MB, free: 15.57 MB / 282.7 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.0001302/0.01406, allocations: 184.3 kB / 290.5 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.073e-05/0.0141, allocations: 47.7 kB / 290.6 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.59e-05/0.01414, allocations: 35.53 kB / 290.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.01414, allocations: 0 / 290.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.01414, allocations: 4 kB / 290.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.01415, allocations: 3.984 kB / 290.6 MB, free: 15.3 MB / 282.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000479/0.01463, allocations: 0.4974 MB / 291.1 MB, free: 14.75 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.01463, allocations: 4.031 kB / 291.1 MB, free: 14.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.275e-05/0.01472, allocations: 35.92 kB / 291.1 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.205e-05/0.01478, allocations: 27.66 kB / 291.2 MB, free: 14.68 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.01479, allocations: 7.938 kB / 291.2 MB, free: 14.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007409/0.01553, allocations: 1.738 MB / 292.9 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.01553, allocations: 0 / 292.9 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002334/0.01577, allocations: 335.3 kB / 293.2 MB, free: 12.47 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.109e-05/0.01579, allocations: 35.8 kB / 293.3 MB, free: 12.43 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.0158, allocations: 4 kB / 293.3 MB, free: 12.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.634e-05/0.01586, allocations: 8 kB / 293.3 MB, free: 12.42 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.406e-05/0.01589, allocations: 15.97 kB / 293.3 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.0159, allocations: 4 kB / 293.3 MB, free: 12.4 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001139/0.01602, allocations: 247 kB / 293.6 MB, free: 12.16 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01602, allocations: 0 / 293.6 MB, free: 12.16 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002566/0.01627, allocations: 68 kB / 293.6 MB, free: 12.09 MB / 282.7 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 8.417e-05/0.01636, allocations: 103.4 kB / 293.7 MB, free: 11.98 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002893/0.01665, allocations: 323.7 kB / 294 MB, free: 11.65 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.01665, allocations: 1.375 kB / 294 MB, free: 11.65 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.01676, allocations: 219.9 kB / 294.3 MB, free: 11.41 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.01699, allocations: 45.53 kB / 294.3 MB, free: 11.37 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.018, allocations: 0.7869 MB / 295.1 MB, free: 10.54 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.328e-05/0.01806, allocations: 104.6 kB / 295.2 MB, free: 10.42 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.414e-05/0.01813, allocations: 39.25 kB / 295.2 MB, free: 10.38 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.01824, allocations: 126.2 kB / 295.4 MB, free: 10.26 MB / 282.7 MB Notification: Performance of SimCode: time 9.82e-07/0.01824, allocations: 0 / 295.4 MB, free: 10.26 MB / 282.7 MB Notification: Performance of Templates: time 0.005259/0.0235, allocations: 2.946 MB / 298.3 MB, free: 7.371 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8549037319608033]