Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009099/0.0009099, allocations: 85.17 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009135/0.0009135, allocations: 145.5 kB / 24.89 MB, free: 8.727 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9454/0.9454, allocations: 173.4 MB / 201.5 MB, free: 8.754 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 268.5 MB, free: 6.008 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.838e-05/3.031e-05, allocations: 2.312 kB / 268.5 MB, free: 6.004 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003689/0.00372, allocations: 3 MB / 271.5 MB, free: 2.984 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001473/0.005192, allocations: 0.986 MB / 272.5 MB, free: 1.996 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001794/0.005372, allocations: 15.88 kB / 272.5 MB, free: 1.98 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001979/0.00557, allocations: 94.98 kB / 272.6 MB, free: 1.887 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001502/0.00572, allocations: 110.8 kB / 272.7 MB, free: 1.777 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004258/0.006146, allocations: 223.6 kB / 272.9 MB, free: 1.559 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000437/0.006583, allocations: 0.5446 MB / 273.5 MB, free: 1.012 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000215/0.006798, allocations: 145.2 kB / 273.6 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002785/0.007076, allocations: 279.3 kB / 273.9 MB, free: 0.582 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001341/0.00721, allocations: 119.5 kB / 274 MB, free: 476 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.746e-05/0.007248, allocations: 36 kB / 274 MB, free: 440 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.58e-05/0.007343, allocations: 51.98 kB / 274.1 MB, free: 388 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.61e-05/0.00739, allocations: 91.61 kB / 274.2 MB, free: 296 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.218e-05/0.007472, allocations: 139.6 kB / 274.3 MB, free: 156 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000338/0.00781, allocations: 362.5 kB / 274.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.007812, allocations: 4 kB / 274.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.007813, allocations: 0 / 274.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.007819, allocations: 0 / 274.7 MB, free: 15.79 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.0005582/0.008377, allocations: 0.6593 MB / 275.3 MB, free: 15.1 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.968e-05/0.008407, allocations: 8.031 kB / 275.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.764e-05/0.008475, allocations: 72.62 kB / 275.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003287/0.008803, allocations: 320.9 kB / 275.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.008824, allocations: 33 kB / 275.7 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.949e-05/0.008864, allocations: 39.98 kB / 275.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003629/0.009227, allocations: 420 kB / 276.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.009243, allocations: 7.953 kB / 276.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.021e-05/0.009264, allocations: 23.98 kB / 276.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.009272, allocations: 12 kB / 276.2 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001662/0.009439, allocations: 142.8 kB / 276.4 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00134/0.01078, allocations: 2.433 MB / 278.8 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000213/0.01099, allocations: 98.45 kB / 278.9 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.662e-05/0.01103, allocations: 32.84 kB / 278.9 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.676e-05/0.01108, allocations: 15.97 kB / 278.9 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.0111, allocations: 30.56 kB / 279 MB, free: 11.2 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.102e-06/0.01111, allocations: 0 / 279 MB, free: 11.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005783/0.01168, allocations: 376.2 kB / 279.3 MB, free: 10.8 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.326e-05/0.01171, allocations: 55.41 kB / 279.4 MB, free: 10.73 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.01187, allocations: 331.2 kB / 279.7 MB, free: 10.4 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.01189, allocations: 29.7 kB / 279.8 MB, free: 10.37 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.01199, allocations: 268.3 kB / 280 MB, free: 10.1 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.525e-05/0.01202, allocations: 71.41 kB / 280.1 MB, free: 10.03 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.594e-05/0.01208, allocations: 65.62 kB / 280.1 MB, free: 9.957 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.062e-05/0.01216, allocations: 350.7 kB / 280.5 MB, free: 9.605 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.105e-05/0.01219, allocations: 23.98 kB / 280.5 MB, free: 9.582 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.159e-05/0.01228, allocations: 175.6 kB / 280.7 MB, free: 9.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.0002616/0.01254, allocations: 306.1 kB / 281 MB, free: 8.973 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.01255, allocations: 0 / 281 MB, free: 8.973 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002257/0.01277, allocations: 242.5 kB / 281.2 MB, free: 8.727 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.01279, allocations: 8 kB / 281.2 MB, free: 8.719 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.01279, allocations: 12.03 kB / 281.2 MB, free: 8.707 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001122/0.01291, allocations: 24.84 kB / 281.3 MB, free: 8.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.01307, allocations: 91.77 kB / 281.4 MB, free: 8.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000718/0.01379, allocations: 1.368 MB / 282.7 MB, free: 7.141 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.712e-05/0.01388, allocations: 16 kB / 282.7 MB, free: 7.125 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.01389, allocations: 12 kB / 282.7 MB, free: 7.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.0001033/0.01399, allocations: 149.3 kB / 282.9 MB, free: 6.961 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.898e-05/0.01402, allocations: 19.98 kB / 282.9 MB, free: 6.941 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.679e-05/0.01406, allocations: 39.52 kB / 283 MB, free: 6.906 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.01406, allocations: 4 kB / 283 MB, free: 6.902 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.01406, allocations: 3.938 kB / 283 MB, free: 6.898 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.01407, allocations: 0 / 283 MB, free: 6.898 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.0003952/0.01446, allocations: 392.3 kB / 283.3 MB, free: 6.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.01447, allocations: 3.984 kB / 283.3 MB, free: 6.477 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.01457, allocations: 40.02 kB / 283.4 MB, free: 6.438 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-05/0.01463, allocations: 28.72 kB / 283.4 MB, free: 6.406 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.01464, allocations: 0 / 283.4 MB, free: 6.406 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004891/0.01512, allocations: 1.186 MB / 284.6 MB, free: 5.129 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01513, allocations: 0 / 284.6 MB, free: 5.129 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001817/0.01531, allocations: 245.6 kB / 284.8 MB, free: 4.867 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.061e-05/0.01533, allocations: 31.8 kB / 284.9 MB, free: 4.836 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.01535, allocations: 8 kB / 284.9 MB, free: 4.828 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.145e-05/0.0154, allocations: 7.938 kB / 284.9 MB, free: 4.82 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.135e-05/0.01543, allocations: 15.97 kB / 284.9 MB, free: 4.805 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-06/0.01544, allocations: 7.938 kB / 284.9 MB, free: 4.797 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.968e-05/0.01552, allocations: 128.7 kB / 285 MB, free: 4.672 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01552, allocations: 0 / 285 MB, free: 4.672 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002263/0.01574, allocations: 68 kB / 285.1 MB, free: 4.605 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 8.297e-05/0.01583, allocations: 84.42 kB / 285.2 MB, free: 4.516 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002586/0.01609, allocations: 266.7 kB / 285.4 MB, free: 4.242 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.876e-06/0.01609, allocations: 8 kB / 285.5 MB, free: 4.234 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002269/0.01632, allocations: 156.7 kB / 285.6 MB, free: 4.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001795/0.0165, allocations: 49.53 kB / 285.7 MB, free: 4.023 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009625/0.01746, allocations: 0.7319 MB / 286.4 MB, free: 3.258 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.58e-05/0.01752, allocations: 104.6 kB / 286.5 MB, free: 3.137 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.296e-05/0.01759, allocations: 39.27 kB / 286.5 MB, free: 3.102 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.01769, allocations: 107.3 kB / 286.6 MB, free: 2.996 MB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01769, allocations: 0 / 286.6 MB, free: 2.996 MB / 266.7 MB Notification: Performance of Templates: time 0.005337/0.02303, allocations: 3.013 MB / 289.6 MB, free: 44 kB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.7534503201022744]