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.001169/0.001169, allocations: 85.95 kB / 22.21 MB, free: 2.285 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.0033/0.0033, allocations: 173.6 kB / 25.61 MB, free: 8.898 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.9882/0.9882, allocations: 158.6 MB / 187.5 MB, free: 2.801 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.753e-06/1.753e-06, allocations: 0 / 251.4 MB, free: 7.277 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.252e-05/2.428e-05, allocations: 2.312 kB / 251.4 MB, free: 7.273 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.00322/0.003244, allocations: 2.958 MB / 254.4 MB, free: 4.293 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001384/0.004627, allocations: 0.9834 MB / 255.4 MB, free: 3.305 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002259/0.004853, allocations: 15.88 kB / 255.4 MB, free: 3.289 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002669/0.00512, allocations: 103 kB / 255.5 MB, free: 3.188 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001514/0.005272, allocations: 114.8 kB / 255.6 MB, free: 3.074 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004497/0.005721, allocations: 219.5 kB / 255.8 MB, free: 2.859 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003927/0.006114, allocations: 0.5563 MB / 256.4 MB, free: 2.301 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002213/0.006335, allocations: 143.2 kB / 256.5 MB, free: 2.152 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002428/0.006578, allocations: 271.4 kB / 256.8 MB, free: 1.883 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.00671, allocations: 119.5 kB / 256.9 MB, free: 1.766 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.081e-05/0.006751, allocations: 40 kB / 256.9 MB, free: 1.727 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.077e-05/0.006842, allocations: 55.98 kB / 257 MB, free: 1.672 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.286e-05/0.006895, allocations: 87.61 kB / 257.1 MB, free: 1.586 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.305e-05/0.006988, allocations: 143.6 kB / 257.2 MB, free: 1.445 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003614/0.007349, allocations: 362.4 kB / 257.6 MB, free: 1.09 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.007351, allocations: 0 / 257.6 MB, free: 1.09 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.007352, allocations: 0 / 257.6 MB, free: 1.09 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.007356, allocations: 4 kB / 257.6 MB, free: 1.086 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.0006526/0.008009, allocations: 0.7762 MB / 258.4 MB, free: 280 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.008053, allocations: 15.98 kB / 258.4 MB, free: 264 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.216e-05/0.008135, allocations: 100.3 kB / 258.5 MB, free: 164 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004069/0.008542, allocations: 382.3 kB / 258.8 MB, free: 15.76 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.008564, allocations: 33 kB / 258.9 MB, free: 15.73 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.357e-05/0.008607, allocations: 40 kB / 258.9 MB, free: 15.69 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004203/0.009027, allocations: 477.1 kB / 259.4 MB, free: 15.12 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000103/0.00913, allocations: 7.891 kB / 259.4 MB, free: 15.11 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.246e-05/0.009153, allocations: 20 kB / 259.4 MB, free: 15.09 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.009164, allocations: 8 kB / 259.4 MB, free: 15.08 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001783/0.009342, allocations: 150.8 kB / 259.6 MB, free: 14.93 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00166/0.011, allocations: 3.614 MB / 263.2 MB, free: 11.18 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002291/0.01123, allocations: 119.1 kB / 263.3 MB, free: 11.05 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.827e-05/0.01128, allocations: 43.27 kB / 263.3 MB, free: 11 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.8e-05/0.01135, allocations: 11.98 kB / 263.3 MB, free: 10.99 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.01137, allocations: 37.39 kB / 263.4 MB, free: 10.95 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 1.472e-06/0.01137, allocations: 0 / 263.4 MB, free: 10.95 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006155/0.01199, allocations: 400.8 kB / 263.8 MB, free: 10.51 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/0.01202, allocations: 55.41 kB / 263.8 MB, free: 10.45 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002207/0.01224, allocations: 394.3 kB / 264.2 MB, free: 10.04 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.01225, allocations: 25.7 kB / 264.2 MB, free: 10.01 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.01241, allocations: 350.4 kB / 264.6 MB, free: 9.664 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.777e-05/0.01245, allocations: 67.42 kB / 264.6 MB, free: 9.598 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.507e-05/0.01252, allocations: 79.22 kB / 264.7 MB, free: 9.512 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0004939/0.01301, allocations: 0.5234 MB / 265.2 MB, free: 8.977 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.252e-05/0.01305, allocations: 27.97 kB / 265.3 MB, free: 8.949 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.01319, allocations: 244.5 kB / 265.5 MB, free: 8.613 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.0002997/0.01349, allocations: 352.4 kB / 265.9 MB, free: 8.172 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.01349, allocations: 4 kB / 265.9 MB, free: 8.168 MB / 250.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002773/0.01377, allocations: 296.9 kB / 266.1 MB, free: 7.867 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.01379, allocations: 11.28 kB / 266.2 MB, free: 7.859 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.01379, allocations: 4 kB / 266.2 MB, free: 7.855 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001156/0.01391, allocations: 39.61 kB / 266.2 MB, free: 7.812 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.01405, allocations: 71.84 kB / 266.3 MB, free: 7.742 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008992/0.01494, allocations: 2.025 MB / 268.3 MB, free: 5.602 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.888e-05/0.01502, allocations: 16 kB / 268.3 MB, free: 5.586 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.01504, allocations: 12 kB / 268.3 MB, free: 5.574 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.0001159/0.01515, allocations: 184.3 kB / 268.5 MB, free: 5.383 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.591e-05/0.01519, allocations: 43.77 kB / 268.5 MB, free: 5.34 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.774e-05/0.01523, allocations: 39.52 kB / 268.6 MB, free: 5.301 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.01523, allocations: 4 kB / 268.6 MB, free: 5.297 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.01523, allocations: 0 / 268.6 MB, free: 5.297 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.01523, allocations: 0 / 268.6 MB, free: 5.297 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.0004416/0.01568, allocations: 0.5012 MB / 269.1 MB, free: 4.754 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.01568, allocations: 3.984 kB / 269.1 MB, free: 4.75 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.75e-05/0.01578, allocations: 35.92 kB / 269.1 MB, free: 4.715 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.399e-05/0.01583, allocations: 23.67 kB / 269.2 MB, free: 4.688 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.01584, allocations: 12.02 kB / 269.2 MB, free: 4.676 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006547/0.01649, allocations: 1.741 MB / 270.9 MB, free: 2.82 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.0165, allocations: 4.062 kB / 270.9 MB, free: 2.816 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.01673, allocations: 343.4 kB / 271.2 MB, free: 2.453 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.12e-05/0.01675, allocations: 27.77 kB / 271.3 MB, free: 2.426 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.01676, allocations: 4 kB / 271.3 MB, free: 2.422 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.494e-05/0.01682, allocations: 7.984 kB / 271.3 MB, free: 2.414 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/0.01686, allocations: 7.984 kB / 271.3 MB, free: 2.406 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.01687, allocations: 8 kB / 271.3 MB, free: 2.398 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001153/0.01698, allocations: 243 kB / 271.5 MB, free: 2.16 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01698, allocations: 0 / 271.5 MB, free: 2.16 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002611/0.01724, allocations: 68 kB / 271.6 MB, free: 2.094 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.0001164/0.01736, allocations: 107.2 kB / 271.7 MB, free: 1.977 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0006517/0.01801, allocations: 321 kB / 272 MB, free: 1.645 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.01801, allocations: 0 / 272 MB, free: 1.645 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001167/0.01813, allocations: 221.6 kB / 272.2 MB, free: 1.406 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.01837, allocations: 41.42 kB / 272.3 MB, free: 1.367 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.01938, allocations: 0.7835 MB / 273.1 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.278e-05/0.01945, allocations: 100.6 kB / 273.2 MB, free: 440 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.032e-05/0.01952, allocations: 39.27 kB / 273.2 MB, free: 404 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.01962, allocations: 130.2 kB / 273.3 MB, free: 272 kB / 250.7 MB Notification: Performance of SimCode: time 5.52e-07/0.01962, allocations: 0 / 273.3 MB, free: 272 kB / 250.7 MB Notification: Performance of Templates: time 0.005418/0.02504, allocations: 2.926 MB / 276.3 MB, free: 13.37 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.7622531820088625]