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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 102.5 kB / 19.61 MB, free: 2.562 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002147/0.002147, allocations: 195.1 kB / 22.76 MB, free: 5.621 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 225.6 MB / 251.4 MB, free: 13.56 MB / 206.1 MB [Timeout remaining time 88] 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 0.002324/0.002324, allocations: 51.92 kB / 369.1 MB, free: 10.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2864, allocations: 52.14 MB / 421.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004763/0.2912, allocations: 3.064 MB / 424.3 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002116/0.2933, allocations: 0.9786 MB / 425.3 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001896/0.2935, allocations: 11.94 kB / 425.3 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002851/0.2938, allocations: 95.05 kB / 425.4 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001921/0.294, allocations: 91.02 kB / 425.5 MB, free: 10.92 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006016/0.2946, allocations: 223.6 kB / 425.7 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005872/0.2951, allocations: 0.5449 MB / 426.3 MB, free: 10.15 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002985/0.2954, allocations: 154.7 kB / 426.4 MB, free: 9.992 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002406/0.2957, allocations: 175.2 kB / 426.6 MB, free: 9.82 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002227/0.2959, allocations: 182.9 kB / 426.8 MB, free: 9.641 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.673e-05/0.296, allocations: 36 kB / 426.8 MB, free: 9.605 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.2961, allocations: 44 kB / 426.8 MB, free: 9.562 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.712e-05/0.2962, allocations: 87.64 kB / 426.9 MB, free: 9.477 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002265/0.2964, allocations: 238.6 kB / 427.2 MB, free: 9.242 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006838/0.2971, allocations: 0.5768 MB / 427.7 MB, free: 8.668 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.2971, allocations: 7.984 kB / 427.8 MB, free: 8.66 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2971, allocations: 0 / 427.8 MB, free: 8.66 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.196e-06/0.2971, allocations: 0 / 427.8 MB, free: 8.66 MB / 334.1 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.001032/0.2981, allocations: 0.7595 MB / 428.5 MB, free: 7.852 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.2982, allocations: 11.89 kB / 428.5 MB, free: 7.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001109/0.2983, allocations: 64.31 kB / 428.6 MB, free: 7.777 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006509/0.2989, allocations: 422.6 kB / 429 MB, free: 7.324 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.58e-05/0.299, allocations: 33 kB / 429 MB, free: 7.293 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.521e-05/0.299, allocations: 40 kB / 429.1 MB, free: 7.254 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008036/0.2999, allocations: 487.4 kB / 429.5 MB, free: 6.699 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.2999, allocations: 3.938 kB / 429.5 MB, free: 6.695 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.603e-05/0.2999, allocations: 20 kB / 429.6 MB, free: 6.676 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.141e-05/0.2999, allocations: 8 kB / 429.6 MB, free: 6.668 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004858/0.3004, allocations: 254.1 kB / 429.8 MB, free: 6.418 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002544/0.303, allocations: 2.815 MB / 432.6 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004822/0.3034, allocations: 165 kB / 432.8 MB, free: 3.285 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001359/0.3036, allocations: 57.12 kB / 432.9 MB, free: 3.227 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001512/0.3037, allocations: 97.03 kB / 433 MB, free: 3.113 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.3038, allocations: 38.5 kB / 433 MB, free: 3.066 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.3038, allocations: 0 / 433 MB, free: 3.066 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001395/0.3052, allocations: 0.6222 MB / 433.6 MB, free: 2.391 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.3052, allocations: 55.39 kB / 433.7 MB, free: 2.324 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003883/0.3056, allocations: 349.6 kB / 434 MB, free: 1.977 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.536e-05/0.3056, allocations: 29.7 kB / 434 MB, free: 1.941 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002342/0.3059, allocations: 307.7 kB / 434.3 MB, free: 1.637 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.817e-05/0.3059, allocations: 63.47 kB / 434.4 MB, free: 1.574 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.306, allocations: 65.66 kB / 434.5 MB, free: 1.504 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.3062, allocations: 350.7 kB / 434.8 MB, free: 1.152 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.3064, allocations: 63.97 kB / 434.9 MB, free: 1.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002867/0.3067, allocations: 227.5 kB / 435.1 MB, free: 0.7969 MB / 334.1 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.00102/0.3077, allocations: 0.5139 MB / 435.6 MB, free: 204 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3077, allocations: 0 / 435.6 MB, free: 204 kB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006312/0.3083, allocations: 361.6 kB / 436 MB, free: 15.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.3083, allocations: 4.688 kB / 436 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.3083, allocations: 8 kB / 436 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001533/0.3085, allocations: 40.78 kB / 436 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002544/0.3088, allocations: 79.83 kB / 436.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001539/0.3103, allocations: 1.635 MB / 437.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001726/0.3105, allocations: 23.98 kB / 437.7 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.107e-05/0.3105, allocations: 12 kB / 437.8 MB, free: 13.89 MB / 350.1 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.0002388/0.3107, allocations: 177.6 kB / 437.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.102e-05/0.3108, allocations: 39.7 kB / 438 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.907e-05/0.3109, allocations: 39.66 kB / 438 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.3109, allocations: 3.984 kB / 438 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.3109, allocations: 0 / 438 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.3109, allocations: 4 kB / 438 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.3119, allocations: 0.6987 MB / 438.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.3119, allocations: 7.938 kB / 438.7 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001826/0.3121, allocations: 43.94 kB / 438.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.347e-05/0.3122, allocations: 24.84 kB / 438.8 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.3122, allocations: 8 kB / 438.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00114/0.3134, allocations: 1.426 MB / 440.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3134, allocations: 0 / 440.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005549/0.3139, allocations: 372.6 kB / 440.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.282e-05/0.314, allocations: 104.9 kB / 440.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.715e-05/0.314, allocations: 12.09 kB / 440.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.3141, allocations: 8 kB / 440.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.396e-05/0.3142, allocations: 11.92 kB / 440.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.3142, allocations: 4 kB / 440.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002673/0.3145, allocations: 239.2 kB / 441 MB, free: 10.42 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3145, allocations: 0 / 441 MB, free: 10.42 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004692/0.3149, allocations: 64 kB / 441 MB, free: 10.36 MB / 350.1 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.0001408/0.3151, allocations: 107.2 kB / 441.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006203/0.3157, allocations: 306.4 kB / 441.4 MB, free: 9.934 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3157, allocations: 0 / 441.4 MB, free: 9.934 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002515/0.316, allocations: 190.1 kB / 441.6 MB, free: 9.738 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.3163, allocations: 37.55 kB / 441.6 MB, free: 9.703 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001626/0.3179, allocations: 0.8768 MB / 442.5 MB, free: 8.789 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005041/0.3184, allocations: 0.8184 MB / 443.3 MB, free: 7.945 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.509e-05/0.3185, allocations: 35.42 kB / 443.4 MB, free: 7.91 MB / 350.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3185, allocations: 0 / 443.4 MB, free: 7.91 MB / 350.1 MB Notification: Performance of Templates: time 0.01043/0.3289, allocations: 6.452 MB / 449.8 MB, free: 1.445 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches