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.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.002058/0.002058, allocations: 103.1 kB / 19.75 MB, free: 2.656 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.001997/0.001997, allocations: 187.4 kB / 22.92 MB, free: 5.484 MB / 14.72 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 1.595/1.595, allocations: 207.6 MB / 233.5 MB, free: 10.98 MB / 190.1 MB " [Timeout remaining time 178] 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.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_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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 51.92 kB / 345.4 MB, free: 10.46 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3471, allocations: 49.12 MB / 394.5 MB, free: 9.43 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004543/0.3516, allocations: 3.089 MB / 397.6 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002197/0.3538, allocations: 1.022 MB / 398.6 MB, free: 6.488 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002984/0.3541, allocations: 10.62 kB / 398.6 MB, free: 6.484 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002836/0.3544, allocations: 96.2 kB / 398.7 MB, free: 6.418 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002104/0.3546, allocations: 96.11 kB / 398.8 MB, free: 6.344 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006417/0.3553, allocations: 226.8 kB / 399 MB, free: 6.211 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005532/0.3558, allocations: 0.5366 MB / 399.6 MB, free: 5.934 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002928/0.3561, allocations: 152.8 kB / 399.7 MB, free: 5.844 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002175/0.3563, allocations: 178.7 kB / 399.9 MB, free: 5.75 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002139/0.3565, allocations: 179.1 kB / 400.1 MB, free: 5.648 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.038e-05/0.3566, allocations: 36.38 kB / 400.1 MB, free: 5.648 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.3567, allocations: 50.11 kB / 400.1 MB, free: 5.645 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.138e-05/0.3568, allocations: 84.45 kB / 400.2 MB, free: 5.586 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001724/0.357, allocations: 236.7 kB / 400.5 MB, free: 5.426 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007212/0.3577, allocations: 0.5832 MB / 401 MB, free: 5.18 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.3577, allocations: 5.344 kB / 401 MB, free: 5.176 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3577, allocations: 0 / 401 MB, free: 5.176 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.447e-05/0.3577, allocations: 0 / 401 MB, free: 5.176 MB / 318.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.001028/0.3587, allocations: 0.7535 MB / 401.8 MB, free: 4.562 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.3588, allocations: 12.42 kB / 401.8 MB, free: 4.559 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.874e-05/0.3589, allocations: 64.19 kB / 401.9 MB, free: 4.523 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006208/0.3595, allocations: 417.2 kB / 402.3 MB, free: 4.207 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.017e-05/0.3595, allocations: 33.81 kB / 402.3 MB, free: 4.191 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.238e-05/0.3596, allocations: 45.83 kB / 402.4 MB, free: 4.172 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008139/0.3604, allocations: 485.2 kB / 402.8 MB, free: 3.824 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/0.3605, allocations: 2.625 kB / 402.8 MB, free: 3.824 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.562e-05/0.3605, allocations: 21.16 kB / 402.9 MB, free: 3.809 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.536e-05/0.3605, allocations: 15.09 kB / 402.9 MB, free: 3.805 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005502/0.3611, allocations: 246.2 kB / 403.1 MB, free: 3.719 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002896/0.3639, allocations: 2.822 MB / 405.9 MB, free: 1.203 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006298/0.3646, allocations: 149.7 kB / 406.1 MB, free: 1.133 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001841/0.3648, allocations: 74.97 kB / 406.2 MB, free: 1.094 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001991/0.365, allocations: 86.47 kB / 406.2 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.365, allocations: 36.56 kB / 406.3 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 3.527e-06/0.365, allocations: 0 / 406.3 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.00173/0.3667, allocations: 0.6247 MB / 406.9 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.3668, allocations: 58.16 kB / 407 MB, free: 440 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005304/0.3673, allocations: 344.7 kB / 407.3 MB, free: 256 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.3673, allocations: 30.67 kB / 407.3 MB, free: 220 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000265/0.3676, allocations: 303.8 kB / 407.6 MB, free: 15.96 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.72e-05/0.3677, allocations: 71.44 kB / 407.7 MB, free: 15.91 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.3678, allocations: 70.44 kB / 407.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002529/0.3681, allocations: 349.8 kB / 408.1 MB, free: 15.54 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/0.3682, allocations: 69.22 kB / 408.2 MB, free: 15.51 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003415/0.3686, allocations: 218 kB / 408.4 MB, free: 15.29 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.001024/0.3696, allocations: 0.5139 MB / 408.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.3696, allocations: 1.312 kB / 408.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006213/0.3702, allocations: 359.8 kB / 409.2 MB, free: 14.7 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.3702, allocations: 11 kB / 409.3 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.3703, allocations: 10.14 kB / 409.3 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001732/0.3704, allocations: 33.33 kB / 409.3 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/0.3707, allocations: 77.06 kB / 409.4 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002042/0.3727, allocations: 1.63 MB / 411 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002994/0.373, allocations: 15.62 kB / 411 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.3e-05/0.373, allocations: 15.92 kB / 411 MB, free: 13.06 MB / 334.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.0004069/0.3734, allocations: 178.3 kB / 411.2 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.677e-05/0.3735, allocations: 43.33 kB / 411.3 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001218/0.3737, allocations: 39.77 kB / 411.3 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.3737, allocations: 1.375 kB / 411.3 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.3737, allocations: 2.031 kB / 411.3 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.3737, allocations: 1.547 kB / 411.3 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001263/0.375, allocations: 0.708 MB / 412 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.375, allocations: 6.094 kB / 412 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001783/0.3751, allocations: 35.69 kB / 412 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.937e-05/0.3752, allocations: 23.55 kB / 412.1 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.3753, allocations: 5.953 kB / 412.1 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001209/0.3765, allocations: 1.429 MB / 413.5 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3765, allocations: 5.25 kB / 413.5 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005456/0.377, allocations: 362.7 kB / 413.9 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.169e-05/0.3771, allocations: 115.2 kB / 414 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.712e-05/0.3771, allocations: 2.5 kB / 414 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.3772, allocations: 6.75 kB / 414 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.262e-05/0.3773, allocations: 18.61 kB / 414 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.3773, allocations: 4.625 kB / 414 MB, free: 10.47 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002884/0.3776, allocations: 236.4 kB / 414.2 MB, free: 10.35 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3776, allocations: 0 / 414.2 MB, free: 10.35 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004916/0.3781, allocations: 69.5 kB / 414.3 MB, free: 10.34 MB / 334.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.0001385/0.3782, allocations: 100.8 kB / 414.4 MB, free: 10.25 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006526/0.3789, allocations: 302.4 kB / 414.7 MB, free: 10.07 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3789, allocations: 4.25 kB / 414.7 MB, free: 10.07 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002485/0.3791, allocations: 179.7 kB / 414.9 MB, free: 9.934 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.3795, allocations: 41.64 kB / 414.9 MB, free: 9.902 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001713/0.3812, allocations: 0.8627 MB / 415.8 MB, free: 9.34 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005493/0.3818, allocations: 0.8173 MB / 416.6 MB, free: 8.637 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001453/0.3819, allocations: 41.55 kB / 416.6 MB, free: 8.621 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.719e-05/0.382, allocations: 33.95 kB / 416.7 MB, free: 8.609 MB / 334.1 MB Notification: Performance of SimCode: time 8.72e-07/0.382, allocations: 0 / 416.7 MB, free: 8.609 MB / 334.1 MB Notification: Performance of Templates: time 0.008274/0.3902, allocations: 2.885 MB / 419.6 MB, free: 7.219 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 5.015405351296067]