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.00101/0.00101, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.001092/0.001092, allocations: 170.3 kB / 25.69 MB, free: 8.453 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 0.9324/0.9324, allocations: 158.6 MB / 187.6 MB, free: 2.781 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.272e-06/1.272e-06, allocations: 0 / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.937e-05/2.064e-05, allocations: 2.312 kB / 251.5 MB, free: 7.254 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003127/0.003148, allocations: 3.009 MB / 254.5 MB, free: 4.223 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001395/0.004543, allocations: 1.03 MB / 255.6 MB, free: 3.188 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000159/0.004702, allocations: 15.88 kB / 255.6 MB, free: 3.172 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001977/0.004899, allocations: 98.98 kB / 255.7 MB, free: 3.074 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001355/0.005035, allocations: 110.8 kB / 255.8 MB, free: 2.965 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000386/0.005421, allocations: 211.6 kB / 256 MB, free: 2.758 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004087/0.005829, allocations: 0.5524 MB / 256.6 MB, free: 2.203 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002128/0.006042, allocations: 149.2 kB / 256.7 MB, free: 2.051 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002506/0.006293, allocations: 275.3 kB / 257 MB, free: 1.781 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.00643, allocations: 127.5 kB / 257.1 MB, free: 1.656 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.632e-05/0.006466, allocations: 36 kB / 257.1 MB, free: 1.621 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.006569, allocations: 51.98 kB / 257.2 MB, free: 1.566 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.298e-05/0.006622, allocations: 91.61 kB / 257.3 MB, free: 1.477 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.401e-05/0.006716, allocations: 135.6 kB / 257.4 MB, free: 1.344 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003288/0.007045, allocations: 370.4 kB / 257.8 MB, free: 0.9805 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.007047, allocations: 0 / 257.8 MB, free: 0.9805 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.007048, allocations: 0 / 257.8 MB, free: 0.9805 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.007053, allocations: 0 / 257.8 MB, free: 0.9805 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.0006146/0.007668, allocations: 0.6555 MB / 258.4 MB, free: 308 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.0077, allocations: 11.98 kB / 258.4 MB, free: 296 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.108e-05/0.007771, allocations: 68.64 kB / 258.5 MB, free: 228 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003744/0.008146, allocations: 325 kB / 258.8 MB, free: 15.88 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.008168, allocations: 29 kB / 258.8 MB, free: 15.85 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.16e-05/0.00821, allocations: 47.89 kB / 258.9 MB, free: 15.8 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003707/0.008581, allocations: 420 kB / 259.3 MB, free: 15.31 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.008597, allocations: 4 kB / 259.3 MB, free: 15.31 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.008615, allocations: 16 kB / 259.3 MB, free: 15.29 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.00863, allocations: 15.94 kB / 259.3 MB, free: 15.28 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001666/0.008797, allocations: 142.9 kB / 259.5 MB, free: 15.14 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001253/0.01005, allocations: 2.429 MB / 261.9 MB, free: 12.61 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001991/0.01025, allocations: 106.5 kB / 262 MB, free: 12.49 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.523e-05/0.01028, allocations: 36.83 kB / 262 MB, free: 12.45 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.9e-05/0.01033, allocations: 4 kB / 262 MB, free: 12.45 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.01035, allocations: 34.56 kB / 262.1 MB, free: 12.41 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 1.292e-06/0.01036, allocations: 0 / 262.1 MB, free: 12.41 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.000603/0.01096, allocations: 373.3 kB / 262.4 MB, free: 12.01 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.361e-05/0.01098, allocations: 55.41 kB / 262.5 MB, free: 11.94 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001806/0.01116, allocations: 331.1 kB / 262.8 MB, free: 11.61 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.01118, allocations: 37.7 kB / 262.9 MB, free: 11.56 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.848e-05/0.01128, allocations: 264.3 kB / 263.1 MB, free: 11.3 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.381e-05/0.01131, allocations: 71.42 kB / 263.2 MB, free: 11.23 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.533e-05/0.01137, allocations: 65.62 kB / 263.3 MB, free: 11.16 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.338e-05/0.01146, allocations: 350.7 kB / 263.6 MB, free: 10.81 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.009e-05/0.01149, allocations: 23.98 kB / 263.6 MB, free: 10.79 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.921e-05/0.01159, allocations: 183.4 kB / 263.8 MB, free: 10.54 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.000242/0.01183, allocations: 291.3 kB / 264.1 MB, free: 10.18 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.01183, allocations: 0 / 264.1 MB, free: 10.18 MB / 250.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002215/0.01205, allocations: 249.8 kB / 264.3 MB, free: 9.926 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.01207, allocations: 8 kB / 264.3 MB, free: 9.918 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.01207, allocations: 4 kB / 264.3 MB, free: 9.914 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.892e-05/0.01217, allocations: 33.47 kB / 264.4 MB, free: 9.879 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.01232, allocations: 80.47 kB / 264.5 MB, free: 9.801 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006727/0.01299, allocations: 1.371 MB / 265.8 MB, free: 8.344 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.799e-05/0.01307, allocations: 12 kB / 265.8 MB, free: 8.332 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.01309, allocations: 19.98 kB / 265.9 MB, free: 8.312 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 9.338e-05/0.01318, allocations: 137.6 kB / 266 MB, free: 8.168 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.083e-05/0.01321, allocations: 23.97 kB / 266 MB, free: 8.145 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.309e-05/0.01324, allocations: 39.56 kB / 266 MB, free: 8.105 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.01325, allocations: 4.141 kB / 266.1 MB, free: 8.102 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.01325, allocations: 0 / 266.1 MB, free: 8.102 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.01325, allocations: 3.984 kB / 266.1 MB, free: 8.098 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.0003679/0.01362, allocations: 388.3 kB / 266.4 MB, free: 7.688 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.01362, allocations: 0 / 266.4 MB, free: 7.688 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.01373, allocations: 55.78 kB / 266.5 MB, free: 7.633 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.66e-05/0.01377, allocations: 24.78 kB / 266.5 MB, free: 7.605 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.597e-06/0.01378, allocations: 16.02 kB / 266.5 MB, free: 7.59 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004669/0.01425, allocations: 1.171 MB / 267.7 MB, free: 6.332 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.01425, allocations: 0 / 267.7 MB, free: 6.332 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.01443, allocations: 252.7 kB / 267.9 MB, free: 6.066 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.931e-05/0.01445, allocations: 27.95 kB / 268 MB, free: 6.039 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.01446, allocations: 7.984 kB / 268 MB, free: 6.031 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.533e-05/0.01452, allocations: 4 kB / 268 MB, free: 6.027 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.142e-05/0.01455, allocations: 15.91 kB / 268 MB, free: 6.012 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.01456, allocations: 12.03 kB / 268 MB, free: 6 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.923e-05/0.01464, allocations: 124.7 kB / 268.1 MB, free: 5.875 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01464, allocations: 0 / 268.1 MB, free: 5.875 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002336/0.01487, allocations: 68 kB / 268.2 MB, free: 5.809 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 7.685e-05/0.01495, allocations: 84.41 kB / 268.3 MB, free: 5.715 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002643/0.01521, allocations: 266.7 kB / 268.5 MB, free: 5.441 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/0.01522, allocations: 8 kB / 268.6 MB, free: 5.434 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.047e-05/0.01531, allocations: 163.2 kB / 268.7 MB, free: 5.262 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001809/0.01549, allocations: 37.44 kB / 268.7 MB, free: 5.227 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000967/0.01646, allocations: 0.7508 MB / 269.5 MB, free: 4.441 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.684e-05/0.01653, allocations: 104.5 kB / 269.6 MB, free: 4.32 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.719e-05/0.01661, allocations: 43.25 kB / 269.6 MB, free: 4.281 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.01672, allocations: 99.34 kB / 269.7 MB, free: 4.184 MB / 250.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01672, allocations: 8 kB / 269.7 MB, free: 4.176 MB / 250.7 MB Notification: Performance of Templates: time 0.005544/0.02227, allocations: 2.976 MB / 272.7 MB, free: 1.23 MB / 250.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 -s gbode -gbm=radauIIA3 -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.646576198283583]