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.0009272/0.0009272, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.00101/0.00101, allocations: 164.2 kB / 24.91 MB, free: 8.762 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 0.9586/0.9586, allocations: 177 MB / 205.2 MB, free: 5.051 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.352e-06/1.352e-06, allocations: 0 / 273.4 MB, free: 1.102 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.799e-05/1.935e-05, allocations: 2.312 kB / 273.4 MB, free: 1.098 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.006516/0.006536, allocations: 2.973 MB / 276.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004932/0.01147, allocations: 1.04 MB / 277.4 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000193/0.01166, allocations: 19.81 kB / 277.4 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002205/0.01188, allocations: 91.03 kB / 277.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001759/0.01206, allocations: 102.8 kB / 277.6 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004858/0.01254, allocations: 239.5 kB / 277.8 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004752/0.01302, allocations: 0.5602 MB / 278.4 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002306/0.01325, allocations: 157 kB / 278.5 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000346/0.01359, allocations: 271.4 kB / 278.8 MB, free: 11.63 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.01375, allocations: 127.5 kB / 278.9 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.301e-05/0.01379, allocations: 36 kB / 279 MB, free: 11.47 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.794e-05/0.01389, allocations: 55.98 kB / 279 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.732e-05/0.01395, allocations: 83.62 kB / 279.1 MB, free: 11.33 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.01406, allocations: 143.6 kB / 279.2 MB, free: 11.19 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003682/0.01443, allocations: 378.3 kB / 279.6 MB, free: 10.82 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.01443, allocations: 0 / 279.6 MB, free: 10.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.01443, allocations: 3.984 kB / 279.6 MB, free: 10.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.01444, allocations: 0 / 279.6 MB, free: 10.82 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.000656/0.0151, allocations: 0.6515 MB / 280.3 MB, free: 10.14 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.01513, allocations: 15.97 kB / 280.3 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001623/0.01529, allocations: 84.62 kB / 280.4 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004071/0.0157, allocations: 320.8 kB / 280.7 MB, free: 9.699 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.01572, allocations: 33 kB / 280.7 MB, free: 9.668 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.94e-05/0.01577, allocations: 40 kB / 280.7 MB, free: 9.629 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004143/0.01619, allocations: 428 kB / 281.2 MB, free: 9.125 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.01621, allocations: 7.938 kB / 281.2 MB, free: 9.117 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.01623, allocations: 16 kB / 281.2 MB, free: 9.102 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.01624, allocations: 12 kB / 281.2 MB, free: 9.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002071/0.01645, allocations: 146.8 kB / 281.3 MB, free: 8.945 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001421/0.01787, allocations: 2.425 MB / 283.8 MB, free: 6.414 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002258/0.01809, allocations: 94.52 kB / 283.8 MB, free: 6.312 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.412e-05/0.01814, allocations: 28.86 kB / 283.9 MB, free: 6.281 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.28e-05/0.01819, allocations: 7.984 kB / 283.9 MB, free: 6.273 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.01822, allocations: 42.5 kB / 283.9 MB, free: 6.223 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.303e-06/0.01822, allocations: 4 kB / 283.9 MB, free: 6.219 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008941/0.01911, allocations: 364.5 kB / 284.3 MB, free: 5.828 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.01914, allocations: 55.41 kB / 284.3 MB, free: 5.762 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002146/0.01935, allocations: 335.2 kB / 284.7 MB, free: 5.426 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.01937, allocations: 25.7 kB / 284.7 MB, free: 5.395 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.01949, allocations: 272.3 kB / 285 MB, free: 5.121 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.265e-05/0.01954, allocations: 71.41 kB / 285 MB, free: 5.051 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.221e-05/0.01961, allocations: 69.62 kB / 285.1 MB, free: 4.977 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.655e-05/0.01971, allocations: 354.7 kB / 285.4 MB, free: 4.621 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.966e-05/0.01975, allocations: 31.92 kB / 285.5 MB, free: 4.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.01986, allocations: 183.6 kB / 285.7 MB, free: 4.34 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.0003/0.02016, allocations: 298.2 kB / 285.9 MB, free: 3.98 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.02017, allocations: 8 kB / 286 MB, free: 3.973 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002972/0.02047, allocations: 238.5 kB / 286.2 MB, free: 3.73 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.02048, allocations: 4 kB / 286.2 MB, free: 3.727 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.02049, allocations: 11.98 kB / 286.2 MB, free: 3.715 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001112/0.0206, allocations: 24.86 kB / 286.2 MB, free: 3.688 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/0.02078, allocations: 83.77 kB / 286.3 MB, free: 3.605 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008169/0.0216, allocations: 1.372 MB / 287.7 MB, free: 2.145 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.02171, allocations: 16.12 kB / 287.7 MB, free: 2.129 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.02173, allocations: 16 kB / 287.7 MB, free: 2.113 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.0001119/0.02184, allocations: 137.6 kB / 287.8 MB, free: 1.969 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.391e-05/0.02189, allocations: 27.97 kB / 287.9 MB, free: 1.941 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.982e-05/0.02193, allocations: 35.53 kB / 287.9 MB, free: 1.91 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.02193, allocations: 4 kB / 287.9 MB, free: 1.906 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.02193, allocations: 0 / 287.9 MB, free: 1.906 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.02194, allocations: 3.984 kB / 287.9 MB, free: 1.902 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.000486/0.02243, allocations: 388.3 kB / 288.3 MB, free: 1.488 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.02243, allocations: 4 kB / 288.3 MB, free: 1.484 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.02254, allocations: 31.92 kB / 288.3 MB, free: 1.453 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.795e-05/0.0226, allocations: 20.84 kB / 288.3 MB, free: 1.43 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.02261, allocations: 4 kB / 288.4 MB, free: 1.426 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000551/0.02316, allocations: 1.182 MB / 289.5 MB, free: 160 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.02316, allocations: 3.984 kB / 289.5 MB, free: 156 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.103/0.1261, allocations: 244 kB / 289.8 MB, free: 25.55 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.26e-05/0.1262, allocations: 34.33 kB / 289.8 MB, free: 25.55 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.1262, allocations: 3 kB / 289.8 MB, free: 25.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.915e-05/0.1263, allocations: 5.25 kB / 289.8 MB, free: 25.55 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.1263, allocations: 17.14 kB / 289.8 MB, free: 25.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.1263, allocations: 4.562 kB / 289.8 MB, free: 25.55 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000104/0.1264, allocations: 129.4 kB / 290 MB, free: 25.54 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1264, allocations: 1.188 kB / 290 MB, free: 25.54 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002875/0.1267, allocations: 67.22 kB / 290 MB, free: 25.54 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 9.433e-05/0.1268, allocations: 85.64 kB / 290.1 MB, free: 25.47 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003164/0.1271, allocations: 254.8 kB / 290.4 MB, free: 25.35 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.327e-06/0.1271, allocations: 6.312 kB / 290.4 MB, free: 25.35 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.192e-05/0.1272, allocations: 167.4 kB / 290.5 MB, free: 25.23 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002026/0.1274, allocations: 42.45 kB / 290.6 MB, free: 25.23 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.1285, allocations: 0.7426 MB / 291.3 MB, free: 24.84 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.277e-05/0.1285, allocations: 103.9 kB / 291.4 MB, free: 24.77 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.077e-05/0.1286, allocations: 37.83 kB / 291.5 MB, free: 24.77 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.895e-05/0.1287, allocations: 100.6 kB / 291.6 MB, free: 24.72 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.1287, allocations: 0 / 291.6 MB, free: 24.72 MB / 266.7 MB Notification: Performance of Templates: time 0.006124/0.1348, allocations: 2.924 MB / 294.5 MB, free: 24.47 MB / 266.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.717827979940921]