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.001378/0.001378, allocations: 96.03 kB / 21.18 MB, free: 0.5312 MB / 14.72 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.001438/0.001438, allocations: 185 kB / 24.46 MB, free: 3.863 MB / 14.72 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 1.453/1.453, allocations: 225.7 MB / 253.3 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 178] 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.001621/0.001621, allocations: 51.92 kB / 371.6 MB, free: 9.266 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2661, allocations: 52.17 MB / 423.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004473/0.2706, allocations: 2.823 MB / 426.6 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002041/0.2726, allocations: 0.9281 MB / 427.6 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000225/0.2728, allocations: 15.81 kB / 427.6 MB, free: 10.69 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002979/0.2731, allocations: 103 kB / 427.7 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002045/0.2733, allocations: 99 kB / 427.8 MB, free: 10.49 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005881/0.2739, allocations: 211.7 kB / 428 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006201/0.2745, allocations: 0.5488 MB / 428.5 MB, free: 9.734 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000305/0.2748, allocations: 139.2 kB / 428.7 MB, free: 9.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002563/0.2751, allocations: 179.3 kB / 428.8 MB, free: 9.414 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002272/0.2753, allocations: 159 kB / 429 MB, free: 9.258 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.048e-05/0.2754, allocations: 36 kB / 429 MB, free: 9.223 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001401/0.2755, allocations: 51.94 kB / 429.1 MB, free: 9.172 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.456e-05/0.2756, allocations: 83.64 kB / 429.2 MB, free: 9.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001845/0.2758, allocations: 183 kB / 429.3 MB, free: 8.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006851/0.2765, allocations: 0.585 MB / 429.9 MB, free: 8.328 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.2765, allocations: 4 kB / 429.9 MB, free: 8.324 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2765, allocations: 0 / 429.9 MB, free: 8.324 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.2765, allocations: 0 / 429.9 MB, free: 8.324 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.001018/0.2775, allocations: 0.6803 MB / 430.6 MB, free: 7.609 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.2775, allocations: 12.03 kB / 430.6 MB, free: 7.598 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.815e-05/0.2776, allocations: 60.31 kB / 430.7 MB, free: 7.539 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006454/0.2783, allocations: 351.4 kB / 431 MB, free: 7.168 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.181e-05/0.2783, allocations: 29 kB / 431 MB, free: 7.141 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.389e-05/0.2784, allocations: 44 kB / 431.1 MB, free: 7.098 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007513/0.2791, allocations: 487.4 kB / 431.6 MB, free: 6.547 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/0.2792, allocations: 7.938 kB / 431.6 MB, free: 6.539 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.584e-05/0.2792, allocations: 23.94 kB / 431.6 MB, free: 6.516 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/0.2792, allocations: 12 kB / 431.6 MB, free: 6.504 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005113/0.2797, allocations: 250.1 kB / 431.9 MB, free: 6.262 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002216/0.282, allocations: 2.622 MB / 434.5 MB, free: 3.516 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004468/0.2824, allocations: 162.7 kB / 434.6 MB, free: 3.348 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001286/0.2825, allocations: 60.84 kB / 434.7 MB, free: 3.285 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001003/0.2826, allocations: 11.92 kB / 434.7 MB, free: 3.273 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.2827, allocations: 30.56 kB / 434.7 MB, free: 3.234 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.843e-06/0.2827, allocations: 0 / 434.7 MB, free: 3.234 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001295/0.284, allocations: 0.5473 MB / 435.3 MB, free: 2.652 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.284, allocations: 55.41 kB / 435.3 MB, free: 2.586 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003715/0.2844, allocations: 361.5 kB / 435.7 MB, free: 2.227 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.2844, allocations: 33.7 kB / 435.7 MB, free: 2.188 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000205/0.2846, allocations: 303.7 kB / 436 MB, free: 1.887 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.617e-05/0.2846, allocations: 67.45 kB / 436.1 MB, free: 1.82 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.49e-05/0.2847, allocations: 65.66 kB / 436.2 MB, free: 1.75 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.2849, allocations: 354.7 kB / 436.5 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.285, allocations: 67.91 kB / 436.6 MB, free: 1.328 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002414/0.2853, allocations: 215.5 kB / 436.8 MB, free: 1.047 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.0009147/0.2862, allocations: 456.3 kB / 437.2 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.2862, allocations: 4 kB / 437.2 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000583/0.2868, allocations: 358.1 kB / 437.6 MB, free: 176 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.2868, allocations: 8 kB / 437.6 MB, free: 168 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.2868, allocations: 4 kB / 437.6 MB, free: 164 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001477/0.287, allocations: 44.78 kB / 437.6 MB, free: 116 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002514/0.2872, allocations: 67.91 kB / 437.7 MB, free: 48 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001367/0.2886, allocations: 1.505 MB / 439.2 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001607/0.2887, allocations: 16.28 kB / 439.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/0.2888, allocations: 20 kB / 439.2 MB, free: 14.41 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.0002169/0.289, allocations: 169.7 kB / 439.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.062e-05/0.289, allocations: 35.77 kB / 439.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.1e-05/0.2891, allocations: 43.45 kB / 439.5 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-06/0.2891, allocations: 7.938 kB / 439.5 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.2891, allocations: 0 / 439.5 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.2891, allocations: 0 / 439.5 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008933/0.29, allocations: 0.5622 MB / 440 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.29, allocations: 0 / 440 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001783/0.2902, allocations: 43.91 kB / 440.1 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.347e-05/0.2903, allocations: 24.86 kB / 440.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.2903, allocations: 3.984 kB / 440.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001013/0.2913, allocations: 1.311 MB / 441.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.2913, allocations: 0 / 441.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000512/0.2918, allocations: 372.5 kB / 441.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.77e-05/0.2919, allocations: 27.77 kB / 441.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.995e-05/0.2919, allocations: 8.031 kB / 441.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.292, allocations: 4 kB / 441.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.2921, allocations: 11.98 kB / 441.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.2921, allocations: 11.98 kB / 441.9 MB, free: 11.6 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002361/0.2923, allocations: 231.2 kB / 442.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2923, allocations: 0 / 442.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004385/0.2927, allocations: 68 kB / 442.1 MB, free: 11.31 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.0001267/0.2929, allocations: 107.2 kB / 442.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005768/0.2934, allocations: 307 kB / 442.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2935, allocations: 0 / 442.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002322/0.2937, allocations: 186.6 kB / 442.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.294, allocations: 41.42 kB / 442.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001544/0.2956, allocations: 0.882 MB / 443.7 MB, free: 9.727 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002224/0.2958, allocations: 215.2 kB / 443.9 MB, free: 9.488 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.529e-05/0.2959, allocations: 35.42 kB / 443.9 MB, free: 9.453 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2959, allocations: 0 / 443.9 MB, free: 9.453 MB / 350.1 MB Notification: Performance of Templates: time 0.00946/0.3053, allocations: 6.617 MB / 450.5 MB, free: 2.832 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 [Calling sys.exit(0), Time elapsed: 7.81818349706009]