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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 210.9 kB / 24.47 MB, free: 3.547 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.478/1.478, allocations: 207.7 MB / 235.3 MB, free: 9.812 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00214/0.00214, allocations: 51.92 kB / 347.2 MB, free: 9.906 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3278, allocations: 49.15 MB / 396.3 MB, free: 9.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.00411/0.3319, allocations: 2.833 MB / 399.2 MB, free: 7.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001711/0.3336, allocations: 0.9698 MB / 400.1 MB, free: 6.484 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002105/0.3338, allocations: 15.03 kB / 400.1 MB, free: 6.477 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002599/0.3341, allocations: 93.89 kB / 400.2 MB, free: 6.41 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001865/0.3342, allocations: 102.5 kB / 400.3 MB, free: 6.332 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000517/0.3348, allocations: 218.7 kB / 400.5 MB, free: 6.207 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005389/0.3353, allocations: 0.5369 MB / 401.1 MB, free: 5.93 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002958/0.3356, allocations: 145.7 kB / 401.2 MB, free: 5.844 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002339/0.3358, allocations: 179.9 kB / 401.4 MB, free: 5.754 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002111/0.336, allocations: 162.1 kB / 401.6 MB, free: 5.668 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.021e-05/0.3361, allocations: 36.94 kB / 401.6 MB, free: 5.668 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001313/0.3362, allocations: 54.27 kB / 401.6 MB, free: 5.66 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.3e-05/0.3363, allocations: 83.06 kB / 401.7 MB, free: 5.602 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001628/0.3365, allocations: 179 kB / 401.9 MB, free: 5.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000658/0.3371, allocations: 0.587 MB / 402.5 MB, free: 5.246 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.3371, allocations: 1.094 kB / 402.5 MB, free: 5.246 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.3371, allocations: 0.7031 kB / 402.5 MB, free: 5.246 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.3371, allocations: 0 / 402.5 MB, free: 5.246 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.0009607/0.3381, allocations: 0.679 MB / 403.2 MB, free: 4.727 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.3381, allocations: 18.11 kB / 403.2 MB, free: 4.719 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.965e-05/0.3382, allocations: 77.56 kB / 403.3 MB, free: 4.656 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.772e-05/0.3383, allocations: 64.34 kB / 403.3 MB, free: 4.621 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006357/0.339, allocations: 353.9 kB / 403.7 MB, free: 4.375 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.175e-05/0.339, allocations: 28.69 kB / 403.7 MB, free: 4.363 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.468e-05/0.339, allocations: 46.36 kB / 403.7 MB, free: 4.344 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006451/0.3397, allocations: 485.7 kB / 404.2 MB, free: 4 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.397e-05/0.3397, allocations: 3.203 kB / 404.2 MB, free: 4 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.29e-05/0.3398, allocations: 25.64 kB / 404.2 MB, free: 3.98 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.3398, allocations: 14.47 kB / 404.3 MB, free: 3.977 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004731/0.3402, allocations: 241.5 kB / 404.5 MB, free: 3.887 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001784/0.342, allocations: 2.676 MB / 407.2 MB, free: 1.469 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004455/0.3425, allocations: 153.5 kB / 407.3 MB, free: 1.395 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.3426, allocations: 62.89 kB / 407.4 MB, free: 1.367 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001072/0.3427, allocations: 10.39 kB / 407.4 MB, free: 1.363 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.3427, allocations: 37.38 kB / 407.4 MB, free: 1.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 2.194e-06/0.3427, allocations: 0 / 407.4 MB, free: 1.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001218/0.344, allocations: 0.5594 MB / 408 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/0.344, allocations: 53.94 kB / 408 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003524/0.3443, allocations: 352.2 kB / 408.4 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.3443, allocations: 25.7 kB / 408.4 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.3445, allocations: 307.7 kB / 408.7 MB, free: 432 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.166e-05/0.3445, allocations: 71.09 kB / 408.8 MB, free: 376 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.522e-05/0.3446, allocations: 70.94 kB / 408.9 MB, free: 328 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.867e-05/0.3447, allocations: 347 kB / 409.2 MB, free: 15.99 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.3449, allocations: 71.73 kB / 409.3 MB, free: 15.96 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003002/0.3452, allocations: 213.4 kB / 409.5 MB, free: 15.75 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.0009488/0.3461, allocations: 446.1 kB / 409.9 MB, free: 15.44 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.3461, allocations: 1.375 kB / 409.9 MB, free: 15.44 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006111/0.3467, allocations: 363.6 kB / 410.3 MB, free: 15.26 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.3467, allocations: 12.31 kB / 410.3 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.3468, allocations: 4.812 kB / 410.3 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001505/0.3469, allocations: 37.94 kB / 410.3 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002362/0.3471, allocations: 78.25 kB / 410.4 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001483/0.3486, allocations: 1.528 MB / 411.9 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/0.3488, allocations: 16.33 kB / 411.9 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.3488, allocations: 13.47 kB / 412 MB, free: 13.74 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.0002496/0.3491, allocations: 176.8 kB / 412.1 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.815e-05/0.3491, allocations: 39.45 kB / 412.2 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.714e-05/0.3492, allocations: 38.88 kB / 412.2 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.3492, allocations: 5.25 kB / 412.2 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3492, allocations: 1.25 kB / 412.2 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.3492, allocations: 1.125 kB / 412.2 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.3503, allocations: 0.6137 MB / 412.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.3503, allocations: 1.188 kB / 412.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001904/0.3505, allocations: 35.45 kB / 412.9 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.939e-05/0.3506, allocations: 29.66 kB / 412.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.3506, allocations: 6.125 kB / 412.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001136/0.3517, allocations: 1.329 MB / 414.2 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3517, allocations: 3.938 kB / 414.2 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005647/0.3523, allocations: 364.6 kB / 414.6 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.141e-05/0.3523, allocations: 30.36 kB / 414.6 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.765e-05/0.3524, allocations: 2.078 kB / 414.6 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.3525, allocations: 12.03 kB / 414.6 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/0.3525, allocations: 18.39 kB / 414.6 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.3525, allocations: 8.953 kB / 414.6 MB, free: 11.48 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000268/0.3528, allocations: 233 kB / 414.9 MB, free: 11.36 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3528, allocations: 0 / 414.9 MB, free: 11.36 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004526/0.3532, allocations: 68.64 kB / 414.9 MB, free: 11.35 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.0008616/0.3541, allocations: 0.8947 MB / 415.8 MB, free: 10.57 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006062/0.3547, allocations: 301.2 kB / 416.1 MB, free: 10.4 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.3547, allocations: 0.8125 kB / 416.1 MB, free: 10.4 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002609/0.355, allocations: 188.5 kB / 416.3 MB, free: 10.25 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000353/0.3553, allocations: 38.42 kB / 416.4 MB, free: 10.23 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004904/0.3602, allocations: 3.34 MB / 419.7 MB, free: 7.766 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.3605, allocations: 212.5 kB / 419.9 MB, free: 7.625 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000152/0.3606, allocations: 42.52 kB / 419.9 MB, free: 7.602 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002486/0.3609, allocations: 159.1 kB / 420.1 MB, free: 7.465 MB / 334.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3609, allocations: 4 kB / 420.1 MB, free: 7.461 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0428/0.4037, allocations: 6.884 MB / 427 MB, free: 3.406 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.14, allocations: 15.94 kB / 427 MB, free: 3.391 MB / 334.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs.fmu > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/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] "Error: Could not read variable directCapacity.heatCapacitor.T in file Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.csv. Warning: Get data of variable directCapacity.heatCapacitor.T from file Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.691222172696143]