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.001576/0.001576, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.00184/0.00184, allocations: 194.6 kB / 23.71 MB, free: 4.406 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.472/1.472, allocations: 225.7 MB / 252.5 MB, free: 12.8 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.001654/0.001654, allocations: 55.92 kB / 370.9 MB, free: 9.199 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.252, allocations: 52.18 MB / 423.1 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004363/0.2564, allocations: 2.819 MB / 425.9 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001873/0.2583, allocations: 0.9242 MB / 426.8 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001823/0.2585, allocations: 15.88 kB / 426.8 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002737/0.2587, allocations: 99.03 kB / 426.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001834/0.2589, allocations: 103 kB / 427 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005184/0.2594, allocations: 211.6 kB / 427.2 MB, free: 10.31 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006066/0.26, allocations: 0.5449 MB / 427.8 MB, free: 9.762 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003095/0.2604, allocations: 139.2 kB / 427.9 MB, free: 9.617 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002441/0.2606, allocations: 183.2 kB / 428.1 MB, free: 9.438 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002165/0.2608, allocations: 162.9 kB / 428.2 MB, free: 9.277 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.732e-05/0.2609, allocations: 40 kB / 428.3 MB, free: 9.238 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.261, allocations: 48 kB / 428.3 MB, free: 9.191 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.587e-05/0.2611, allocations: 91.62 kB / 428.4 MB, free: 9.102 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001661/0.2612, allocations: 175 kB / 428.6 MB, free: 8.93 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006661/0.2619, allocations: 0.5894 MB / 429.2 MB, free: 8.344 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.828e-06/0.2619, allocations: 4 kB / 429.2 MB, free: 8.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.2619, allocations: 0 / 429.2 MB, free: 8.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.347e-06/0.2619, allocations: 0 / 429.2 MB, free: 8.34 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.00104/0.263, allocations: 0.6764 MB / 429.9 MB, free: 7.629 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.263, allocations: 16.03 kB / 429.9 MB, free: 7.613 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.567e-05/0.2631, allocations: 64.31 kB / 429.9 MB, free: 7.551 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006533/0.2638, allocations: 343.5 kB / 430.3 MB, free: 7.188 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.237e-05/0.2638, allocations: 33 kB / 430.3 MB, free: 7.156 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.896e-05/0.2639, allocations: 40 kB / 430.3 MB, free: 7.117 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007914/0.2647, allocations: 491.4 kB / 430.8 MB, free: 6.562 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.726e-05/0.2647, allocations: 0 / 430.8 MB, free: 6.562 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.808e-05/0.2647, allocations: 27.94 kB / 430.8 MB, free: 6.535 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.2647, allocations: 8 kB / 430.9 MB, free: 6.527 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005071/0.2652, allocations: 250.1 kB / 431.1 MB, free: 6.285 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002362/0.2676, allocations: 2.622 MB / 433.7 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000459/0.2681, allocations: 158.7 kB / 433.9 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.2682, allocations: 64.22 kB / 433.9 MB, free: 3.312 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.997e-05/0.2683, allocations: 7.984 kB / 433.9 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.2683, allocations: 30.56 kB / 434 MB, free: 3.266 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.2683, allocations: 4 kB / 434 MB, free: 3.262 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001318/0.2696, allocations: 0.5556 MB / 434.5 MB, free: 2.668 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.2697, allocations: 55.41 kB / 434.6 MB, free: 2.602 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003882/0.2701, allocations: 361.5 kB / 434.9 MB, free: 2.242 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.2701, allocations: 25.7 kB / 435 MB, free: 2.211 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002241/0.2703, allocations: 307.7 kB / 435.3 MB, free: 1.906 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.885e-05/0.2704, allocations: 67.47 kB / 435.3 MB, free: 1.84 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.273e-05/0.2705, allocations: 65.66 kB / 435.4 MB, free: 1.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.2706, allocations: 350.7 kB / 435.7 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.2708, allocations: 67.97 kB / 435.8 MB, free: 1.352 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002596/0.271, allocations: 223.4 kB / 436 MB, free: 1.062 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.0009535/0.272, allocations: 456.7 kB / 436.5 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.272, allocations: 4 kB / 436.5 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006163/0.2726, allocations: 357.6 kB / 436.8 MB, free: 192 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.2726, allocations: 8 kB / 436.8 MB, free: 184 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.2727, allocations: 8 kB / 436.8 MB, free: 176 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001563/0.2728, allocations: 37.53 kB / 436.9 MB, free: 136 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000254/0.2731, allocations: 71.91 kB / 436.9 MB, free: 64 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001488/0.2745, allocations: 1.509 MB / 438.5 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001544/0.2747, allocations: 8 kB / 438.5 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.544e-05/0.2747, allocations: 20 kB / 438.5 MB, free: 14.43 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.0002226/0.275, allocations: 169.7 kB / 438.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.078e-05/0.275, allocations: 35.77 kB / 438.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.66e-05/0.2751, allocations: 47.52 kB / 438.7 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.2751, allocations: 4.141 kB / 438.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.2751, allocations: 3.984 kB / 438.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.2751, allocations: 3.938 kB / 438.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009376/0.276, allocations: 0.5545 MB / 439.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.276, allocations: 0 / 439.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000187/0.2762, allocations: 43.91 kB / 439.3 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.02e-05/0.2763, allocations: 20.86 kB / 439.4 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.2763, allocations: 8.016 kB / 439.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001074/0.2774, allocations: 1.307 MB / 440.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.2774, allocations: 4.031 kB / 440.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005336/0.2779, allocations: 360.5 kB / 441 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.093e-05/0.278, allocations: 31.77 kB / 441.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.945e-05/0.278, allocations: 11.97 kB / 441.1 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.2781, allocations: 8 kB / 441.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.794e-05/0.2782, allocations: 8.047 kB / 441.1 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.2782, allocations: 15.98 kB / 441.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002549/0.2785, allocations: 231.2 kB / 441.3 MB, free: 11.39 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2785, allocations: 0 / 441.3 MB, free: 11.39 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000474/0.2789, allocations: 68 kB / 441.4 MB, free: 11.33 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.0001184/0.279, allocations: 99.48 kB / 441.5 MB, free: 11.22 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006062/0.2797, allocations: 310.3 kB / 441.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2797, allocations: 0 / 441.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002513/0.2799, allocations: 190.2 kB / 442 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.2803, allocations: 46.16 kB / 442 MB, free: 10.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.2819, allocations: 0.8505 MB / 442.9 MB, free: 9.785 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002535/0.2821, allocations: 215.2 kB / 443.1 MB, free: 9.547 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.00013/0.2822, allocations: 35.27 kB / 443.1 MB, free: 9.512 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.662e-05/0.2823, allocations: 35.42 kB / 443.2 MB, free: 9.477 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2823, allocations: 0 / 443.2 MB, free: 9.477 MB / 350.1 MB Notification: Performance of Templates: time 0.009015/0.2913, allocations: 3.157 MB / 446.3 MB, free: 6.387 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/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: 4.649939591065049]