Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009607/0.0009607, allocations: 85.95 kB / 23 MB, free: 1.5 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.001002/0.001002, allocations: 172.7 kB / 26.39 MB, free: 7.758 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.008/1.008, allocations: 158.6 MB / 188.3 MB, free: 2.816 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 252.2 MB, free: 7.379 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.454e-05/2.604e-05, allocations: 6.25 kB / 252.2 MB, free: 7.371 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003488/0.003514, allocations: 2.946 MB / 255.2 MB, free: 4.402 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00149/0.005004, allocations: 0.995 MB / 256.2 MB, free: 3.402 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001936/0.005197, allocations: 19.81 kB / 256.2 MB, free: 3.383 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002198/0.005417, allocations: 91.11 kB / 256.3 MB, free: 3.293 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001591/0.005576, allocations: 114.8 kB / 256.4 MB, free: 3.18 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004786/0.006055, allocations: 227.5 kB / 256.6 MB, free: 2.957 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004591/0.006514, allocations: 0.5485 MB / 257.2 MB, free: 2.406 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002396/0.006754, allocations: 139.2 kB / 257.3 MB, free: 2.262 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003964/0.00715, allocations: 275.4 kB / 257.6 MB, free: 1.992 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001836/0.007334, allocations: 127.5 kB / 257.7 MB, free: 1.867 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.381e-05/0.007388, allocations: 36 kB / 257.7 MB, free: 1.828 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.007497, allocations: 51.98 kB / 257.8 MB, free: 1.777 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.626e-05/0.007553, allocations: 91.61 kB / 257.9 MB, free: 1.688 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.815e-05/0.007652, allocations: 143.5 kB / 258 MB, free: 1.547 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004182/0.00807, allocations: 358.5 kB / 258.4 MB, free: 1.195 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.008073, allocations: 0 / 258.4 MB, free: 1.195 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.008074, allocations: 0 / 258.4 MB, free: 1.195 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.00808, allocations: 0 / 258.4 MB, free: 1.195 MB / 234.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.0009557/0.009036, allocations: 0.7841 MB / 259.1 MB, free: 384 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.009077, allocations: 11.98 kB / 259.1 MB, free: 372 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.246e-05/0.009169, allocations: 92.36 kB / 259.2 MB, free: 280 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004425/0.009612, allocations: 386.2 kB / 259.6 MB, free: 15.87 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.009634, allocations: 37 kB / 259.7 MB, free: 15.83 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.385e-05/0.009678, allocations: 36 kB / 259.7 MB, free: 15.8 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000454/0.01013, allocations: 477.1 kB / 260.2 MB, free: 15.23 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.328e-05/0.01016, allocations: 11.89 kB / 260.2 MB, free: 15.21 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.308e-05/0.01018, allocations: 16 kB / 260.2 MB, free: 15.2 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.01019, allocations: 16 kB / 260.2 MB, free: 15.18 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002074/0.0104, allocations: 150.8 kB / 260.3 MB, free: 15.04 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001781/0.01218, allocations: 3.611 MB / 264 MB, free: 11.28 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002817/0.01246, allocations: 114 kB / 264.1 MB, free: 11.16 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.8e-05/0.01251, allocations: 39.67 kB / 264.1 MB, free: 11.12 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.386e-05/0.01258, allocations: 8 kB / 264.1 MB, free: 11.11 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.01261, allocations: 41.31 kB / 264.2 MB, free: 11.06 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 1.994e-06/0.01261, allocations: 0 / 264.2 MB, free: 11.06 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007863/0.0134, allocations: 424.3 kB / 264.6 MB, free: 10.61 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.01343, allocations: 51.41 kB / 264.6 MB, free: 10.54 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002615/0.01369, allocations: 390.4 kB / 265 MB, free: 10.14 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.01371, allocations: 25.7 kB / 265 MB, free: 10.11 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/0.0139, allocations: 358.4 kB / 265.4 MB, free: 9.758 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.937e-05/0.01395, allocations: 71.42 kB / 265.4 MB, free: 9.688 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.239e-05/0.01402, allocations: 75.28 kB / 265.5 MB, free: 9.605 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003327/0.01435, allocations: 0.5156 MB / 266 MB, free: 9.078 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.771e-05/0.01439, allocations: 27.97 kB / 266.1 MB, free: 9.051 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.01453, allocations: 248.5 kB / 266.3 MB, free: 8.711 MB / 250.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.0003273/0.01485, allocations: 356.3 kB / 266.6 MB, free: 8.266 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.01486, allocations: 0 / 266.6 MB, free: 8.266 MB / 250.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002967/0.01515, allocations: 292.8 kB / 266.9 MB, free: 7.969 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.01517, allocations: 8 kB / 266.9 MB, free: 7.961 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.01518, allocations: 12 kB / 267 MB, free: 7.949 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001187/0.0153, allocations: 35.61 kB / 267 MB, free: 7.91 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.01545, allocations: 71.84 kB / 267.1 MB, free: 7.84 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00114/0.01659, allocations: 2.021 MB / 269.1 MB, free: 5.703 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.68e-05/0.01668, allocations: 8 kB / 269.1 MB, free: 5.695 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.0167, allocations: 16 kB / 269.1 MB, free: 5.68 MB / 250.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.0001304/0.01683, allocations: 192.5 kB / 269.3 MB, free: 5.48 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.025e-05/0.01687, allocations: 43.77 kB / 269.3 MB, free: 5.438 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.336e-05/0.01691, allocations: 39.53 kB / 269.4 MB, free: 5.398 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.01691, allocations: 0 / 269.4 MB, free: 5.398 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.01692, allocations: 0 / 269.4 MB, free: 5.398 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.01692, allocations: 12.02 kB / 269.4 MB, free: 5.387 MB / 250.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.0005002/0.01742, allocations: 0.4895 MB / 269.9 MB, free: 4.855 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.01743, allocations: 0 / 269.9 MB, free: 4.855 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.947e-05/0.01753, allocations: 31.98 kB / 269.9 MB, free: 4.824 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.016e-05/0.01759, allocations: 23.67 kB / 269.9 MB, free: 4.797 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.0176, allocations: 7.938 kB / 269.9 MB, free: 4.789 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007309/0.01833, allocations: 1.737 MB / 271.7 MB, free: 2.938 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.01833, allocations: 4 kB / 271.7 MB, free: 2.934 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002698/0.0186, allocations: 354.4 kB / 272 MB, free: 2.562 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.207e-05/0.01862, allocations: 27.77 kB / 272.1 MB, free: 2.535 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.01864, allocations: 8 kB / 272.1 MB, free: 2.527 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.334e-05/0.01869, allocations: 4 kB / 272.1 MB, free: 2.523 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.34e-05/0.01873, allocations: 15.97 kB / 272.1 MB, free: 2.508 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.01873, allocations: 0 / 272.1 MB, free: 2.508 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001172/0.01885, allocations: 247 kB / 272.3 MB, free: 2.266 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.01885, allocations: 0 / 272.3 MB, free: 2.266 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002751/0.01913, allocations: 72.03 kB / 272.4 MB, free: 2.195 MB / 250.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.0001113/0.01924, allocations: 99.19 kB / 272.5 MB, free: 2.086 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0006151/0.01985, allocations: 321.1 kB / 272.8 MB, free: 1.754 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.01985, allocations: 4.312 kB / 272.8 MB, free: 1.75 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.02, allocations: 221.4 kB / 273 MB, free: 1.512 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.02031, allocations: 41.77 kB / 273.1 MB, free: 1.473 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.02162, allocations: 0.7681 MB / 273.8 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.076e-05/0.02169, allocations: 104.6 kB / 273.9 MB, free: 0.543 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.601e-05/0.02178, allocations: 39.27 kB / 274 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.02189, allocations: 126.2 kB / 274.1 MB, free: 392 kB / 250.7 MB Notification: Performance of SimCode: time 1.493e-06/0.02189, allocations: 4 kB / 274.1 MB, free: 388 kB / 250.7 MB Notification: Performance of Templates: time 0.006082/0.02798, allocations: 3.008 MB / 277.1 MB, free: 13.4 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.930127976462245]