Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001376/0.001376, allocations: 82.59 kB / 21.42 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001126/0.001126, allocations: 169.5 kB / 24.82 MB, free: 8.91 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.055/1.055, allocations: 177 MB / 205.1 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 273.3 MB, free: 1.273 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.268e-05/2.459e-05, allocations: 3.719 kB / 273.3 MB, free: 1.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004218/0.004243, allocations: 2.979 MB / 276.3 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001848/0.00609, allocations: 0.9941 MB / 277.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002424/0.006333, allocations: 19.88 kB / 277.3 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002592/0.006592, allocations: 94.98 kB / 277.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002304/0.006822, allocations: 110.8 kB / 277.5 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005635/0.007386, allocations: 235.5 kB / 277.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005861/0.007972, allocations: 0.5602 MB / 278.3 MB, free: 12.26 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002912/0.008263, allocations: 151.1 kB / 278.4 MB, free: 12.1 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004352/0.008698, allocations: 271.4 kB / 278.7 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002016/0.0089, allocations: 123.5 kB / 278.8 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.054e-05/0.008961, allocations: 36 kB / 278.9 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001313/0.009092, allocations: 59.91 kB / 278.9 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.115e-05/0.009163, allocations: 95.61 kB / 279 MB, free: 11.53 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001348/0.009298, allocations: 139.6 kB / 279.1 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004982/0.009796, allocations: 370.4 kB / 279.5 MB, free: 11.03 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.0098, allocations: 0 / 279.5 MB, free: 11.03 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.009801, allocations: 0 / 279.5 MB, free: 11.03 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.009814, allocations: 0 / 279.5 MB, free: 11.03 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.0009203/0.01073, allocations: 0.784 MB / 280.3 MB, free: 10.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.01078, allocations: 11.98 kB / 280.3 MB, free: 10.19 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002387/0.01102, allocations: 100.3 kB / 280.4 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005372/0.01156, allocations: 394.2 kB / 280.8 MB, free: 9.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.043e-05/0.01159, allocations: 29 kB / 280.8 MB, free: 9.652 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.294e-05/0.01165, allocations: 40 kB / 280.9 MB, free: 9.613 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005997/0.01225, allocations: 473.1 kB / 281.3 MB, free: 9.043 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/0.01227, allocations: 7.938 kB / 281.3 MB, free: 9.035 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.489e-05/0.01231, allocations: 19.98 kB / 281.3 MB, free: 9.016 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.01232, allocations: 12 kB / 281.4 MB, free: 9.004 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002888/0.01261, allocations: 150.8 kB / 281.5 MB, free: 8.855 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002296/0.01491, allocations: 3.618 MB / 285.1 MB, free: 5.094 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003287/0.01524, allocations: 111.8 kB / 285.2 MB, free: 4.973 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.953e-05/0.0153, allocations: 43.59 kB / 285.3 MB, free: 4.926 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.911e-05/0.01538, allocations: 11.98 kB / 285.3 MB, free: 4.914 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.01541, allocations: 33.39 kB / 285.3 MB, free: 4.871 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 2.064e-06/0.01541, allocations: 0 / 285.3 MB, free: 4.871 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008547/0.01627, allocations: 414.7 kB / 285.7 MB, free: 4.43 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/0.0163, allocations: 51.41 kB / 285.8 MB, free: 4.367 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004491/0.01675, allocations: 398.4 kB / 286.2 MB, free: 3.965 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.01676, allocations: 25.7 kB / 286.2 MB, free: 3.934 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001926/0.01696, allocations: 354.4 kB / 286.5 MB, free: 3.578 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.741e-05/0.017, allocations: 67.47 kB / 286.6 MB, free: 3.512 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.841e-05/0.01709, allocations: 75.27 kB / 286.7 MB, free: 3.43 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.01725, allocations: 0.5234 MB / 287.2 MB, free: 2.895 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.793e-05/0.01731, allocations: 27.98 kB / 287.2 MB, free: 2.867 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/0.01748, allocations: 244.5 kB / 287.5 MB, free: 2.531 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.0004305/0.01791, allocations: 371.5 kB / 287.8 MB, free: 2.074 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.01791, allocations: 4 kB / 287.8 MB, free: 2.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004298/0.01834, allocations: 292.5 kB / 288.1 MB, free: 1.773 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.01836, allocations: 4 kB / 288.1 MB, free: 1.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/0.01837, allocations: 8 kB / 288.1 MB, free: 1.762 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001449/0.01852, allocations: 40.22 kB / 288.2 MB, free: 1.719 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/0.01873, allocations: 79.91 kB / 288.2 MB, free: 1.641 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001525/0.02026, allocations: 2.017 MB / 290.3 MB, free: 15.51 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.0204, allocations: 12 kB / 290.3 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.943e-05/0.02042, allocations: 12 kB / 290.3 MB, free: 15.48 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.0001686/0.02059, allocations: 184.4 kB / 290.5 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.347e-05/0.02064, allocations: 43.8 kB / 290.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.142e-05/0.02069, allocations: 39.52 kB / 290.5 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.0207, allocations: 4 kB / 290.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.0207, allocations: 0 / 290.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.02071, allocations: 0 / 290.6 MB, free: 15.21 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.0006983/0.02141, allocations: 0.5128 MB / 291.1 MB, free: 14.65 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.02141, allocations: 0 / 291.1 MB, free: 14.65 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.02157, allocations: 27.98 kB / 291.1 MB, free: 14.62 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.514e-05/0.02165, allocations: 23.67 kB / 291.1 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.02166, allocations: 11.97 kB / 291.1 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008811/0.02255, allocations: 1.737 MB / 292.9 MB, free: 12.73 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.02255, allocations: 0 / 292.9 MB, free: 12.73 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003257/0.02287, allocations: 342.4 kB / 293.2 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.573e-05/0.02291, allocations: 27.77 kB / 293.2 MB, free: 12.35 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.02293, allocations: 8 kB / 293.2 MB, free: 12.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.745e-05/0.02302, allocations: 3.984 kB / 293.2 MB, free: 12.34 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.791e-05/0.02306, allocations: 15.92 kB / 293.3 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.02307, allocations: 12.03 kB / 293.3 MB, free: 12.31 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001618/0.02323, allocations: 250.9 kB / 293.5 MB, free: 12.07 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02323, allocations: 0 / 293.5 MB, free: 12.07 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004242/0.02365, allocations: 68 kB / 293.6 MB, free: 12 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 0.0001082/0.02376, allocations: 99.19 kB / 293.7 MB, free: 11.89 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003684/0.02413, allocations: 317.6 kB / 294 MB, free: 11.56 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.02413, allocations: 0 / 294 MB, free: 11.56 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.02428, allocations: 228.3 kB / 294.2 MB, free: 11.32 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.0246, allocations: 37.47 kB / 294.2 MB, free: 11.29 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.02591, allocations: 0.7839 MB / 295 MB, free: 10.46 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.119e-05/0.02597, allocations: 108.6 kB / 295.1 MB, free: 10.34 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.318e-05/0.02604, allocations: 39.27 kB / 295.2 MB, free: 10.3 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.938e-05/0.02614, allocations: 126.2 kB / 295.3 MB, free: 10.18 MB / 282.7 MB Notification: Performance of SimCode: time 1.002e-06/0.02614, allocations: 0 / 295.3 MB, free: 10.18 MB / 282.7 MB Notification: Performance of Templates: time 0.005341/0.03148, allocations: 2.951 MB / 298.2 MB, free: 7.281 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.7344092279672623]