Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009992/0.0009992, allocations: 79.91 kB / 21.18 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009647/0.0009647, allocations: 141.1 kB / 24.54 MB, free: 32 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9941/0.9941, allocations: 173.4 MB / 201.1 MB, free: 9.332 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 268 MB, free: 6.465 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.725e-05/2.93e-05, allocations: 6.25 kB / 268 MB, free: 6.457 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003487/0.003517, allocations: 2.996 MB / 271 MB, free: 3.441 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001374/0.004891, allocations: 0.9668 MB / 271.9 MB, free: 2.473 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001897/0.005081, allocations: 15.88 kB / 272 MB, free: 2.457 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002376/0.005318, allocations: 99.05 kB / 272 MB, free: 2.359 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000161/0.005479, allocations: 98.95 kB / 272.1 MB, free: 2.262 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004916/0.005971, allocations: 223.5 kB / 272.4 MB, free: 2.043 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004274/0.006399, allocations: 0.5563 MB / 272.9 MB, free: 1.484 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002413/0.00664, allocations: 139.2 kB / 273.1 MB, free: 1.34 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002559/0.006896, allocations: 267.4 kB / 273.3 MB, free: 1.078 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001502/0.007046, allocations: 123.5 kB / 273.4 MB, free: 0.957 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.55e-05/0.007091, allocations: 36 kB / 273.5 MB, free: 0.9219 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.778e-05/0.007189, allocations: 59.92 kB / 273.5 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.672e-05/0.007246, allocations: 87.61 kB / 273.6 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.975e-05/0.007346, allocations: 139.6 kB / 273.8 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000363/0.007709, allocations: 362.5 kB / 274.1 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.007713, allocations: 0 / 274.1 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.007714, allocations: 3.938 kB / 274.1 MB, free: 288 kB / 250.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.007719, allocations: 0 / 274.1 MB, free: 288 kB / 250.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.0007349/0.008454, allocations: 0.7686 MB / 274.9 MB, free: 15.47 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.008495, allocations: 12.03 kB / 274.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.752e-05/0.008592, allocations: 96.31 kB / 275 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003963/0.008988, allocations: 386.2 kB / 275.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/0.009013, allocations: 37 kB / 275.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.326e-05/0.009066, allocations: 40 kB / 275.4 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005095/0.009575, allocations: 493.2 kB / 275.9 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.009592, allocations: 3.938 kB / 275.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.522e-05/0.009617, allocations: 20 kB / 275.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.009629, allocations: 8 kB / 276 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004403/0.01007, allocations: 175.5 kB / 276.1 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001705/0.01177, allocations: 3.673 MB / 279.8 MB, free: 10.26 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003269/0.0121, allocations: 123.2 kB / 279.9 MB, free: 10.13 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.02e-05/0.01217, allocations: 39.67 kB / 280 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.811e-05/0.01227, allocations: 12.27 kB / 280 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.01229, allocations: 33.39 kB / 280 MB, free: 10.03 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.01229, allocations: 4 kB / 280 MB, free: 10.03 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.000927/0.01322, allocations: 490.2 kB / 280.5 MB, free: 9.512 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.01326, allocations: 55.41 kB / 280.5 MB, free: 9.445 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000268/0.01352, allocations: 390.5 kB / 280.9 MB, free: 9.051 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.01354, allocations: 33.7 kB / 280.9 MB, free: 9.012 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/0.0137, allocations: 354.4 kB / 281.3 MB, free: 8.656 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.143e-05/0.01374, allocations: 67.44 kB / 281.4 MB, free: 8.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.748e-05/0.01381, allocations: 71.3 kB / 281.4 MB, free: 8.512 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.01395, allocations: 0.5157 MB / 281.9 MB, free: 7.984 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.016e-05/0.01401, allocations: 31.97 kB / 282 MB, free: 7.953 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/0.01417, allocations: 260.5 kB / 282.2 MB, free: 7.602 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.0003906/0.01456, allocations: 375 kB / 282.6 MB, free: 7.141 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.01457, allocations: 8 kB / 282.6 MB, free: 7.133 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003415/0.01491, allocations: 316.3 kB / 282.9 MB, free: 6.816 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.01493, allocations: 15.92 kB / 282.9 MB, free: 6.801 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.01494, allocations: 7.938 kB / 282.9 MB, free: 6.793 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001727/0.01511, allocations: 35.61 kB / 283 MB, free: 6.754 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000315/0.01543, allocations: 71.91 kB / 283 MB, free: 6.684 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001052/0.01648, allocations: 2.032 MB / 285.1 MB, free: 4.531 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.976e-05/0.01657, allocations: 15.94 kB / 285.1 MB, free: 4.516 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.01659, allocations: 20.06 kB / 285.1 MB, free: 4.496 MB / 266.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.0001281/0.01671, allocations: 180.4 kB / 285.3 MB, free: 4.309 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.245e-05/0.01676, allocations: 43.77 kB / 285.3 MB, free: 4.266 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.773e-05/0.01679, allocations: 35.53 kB / 285.4 MB, free: 4.234 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.0168, allocations: 4.141 kB / 285.4 MB, free: 4.23 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.0168, allocations: 0 / 285.4 MB, free: 4.23 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.01681, allocations: 11.91 kB / 285.4 MB, free: 4.219 MB / 266.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.0005748/0.01738, allocations: 0.5825 MB / 286 MB, free: 3.582 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.01738, allocations: 0 / 286 MB, free: 3.582 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.01749, allocations: 31.98 kB / 286 MB, free: 3.551 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-05/0.01757, allocations: 27.67 kB / 286 MB, free: 3.52 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.01758, allocations: 0 / 286 MB, free: 3.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007595/0.01834, allocations: 1.764 MB / 287.8 MB, free: 1.633 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.01834, allocations: 0 / 287.8 MB, free: 1.633 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002816/0.01862, allocations: 347.4 kB / 288.1 MB, free: 1.266 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.505e-05/0.01864, allocations: 31.77 kB / 288.2 MB, free: 1.234 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.01866, allocations: 7.938 kB / 288.2 MB, free: 1.227 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.797e-05/0.01872, allocations: 8 kB / 288.2 MB, free: 1.219 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.566e-05/0.01877, allocations: 12.16 kB / 288.2 MB, free: 1.207 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.01877, allocations: 4 kB / 288.2 MB, free: 1.203 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000154/0.01893, allocations: 255 kB / 288.4 MB, free: 0.957 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01893, allocations: 0 / 288.4 MB, free: 0.957 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002929/0.01922, allocations: 68 kB / 288.5 MB, free: 0.8906 MB / 266.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 0.0001019/0.01932, allocations: 107.2 kB / 288.6 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003904/0.01971, allocations: 344.7 kB / 288.9 MB, free: 432 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.01971, allocations: 1.375 kB / 288.9 MB, free: 432 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.01984, allocations: 224.1 kB / 289.2 MB, free: 188 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/0.02012, allocations: 45.48 kB / 289.2 MB, free: 144 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.02155, allocations: 0.7714 MB / 290 MB, free: 15.33 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.13e-05/0.02162, allocations: 100.6 kB / 290.1 MB, free: 15.21 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002779/0.02189, allocations: 47.19 kB / 290.1 MB, free: 15.17 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.85e-05/0.02196, allocations: 32.48 kB / 290.2 MB, free: 15.14 MB / 282.7 MB Notification: Performance of SimCode: time 1.353e-06/0.02196, allocations: 0 / 290.2 MB, free: 15.14 MB / 282.7 MB Notification: Performance of Templates: time 0.005947/0.02791, allocations: 2.724 MB / 292.9 MB, free: 12.48 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 3.1136410417966545]