Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001852/0.001852, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 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.002602/0.002602, allocations: 212 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.457/1.457, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002609/0.002609, allocations: 47.92 kB / 377.7 MB, free: 3.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.3043, allocations: 53.37 MB / 431.1 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004876/0.3091, allocations: 2.832 MB / 433.9 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001965/0.3111, allocations: 0.9825 MB / 434.9 MB, free: 2.848 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001872/0.3113, allocations: 19.81 kB / 434.9 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002695/0.3116, allocations: 99.05 kB / 435 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00018/0.3117, allocations: 95 kB / 435.1 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000548/0.3123, allocations: 231.6 kB / 435.3 MB, free: 2.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006122/0.3129, allocations: 0.541 MB / 435.9 MB, free: 1.867 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003069/0.3132, allocations: 139.2 kB / 436 MB, free: 1.723 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003296/0.3135, allocations: 187.2 kB / 436.2 MB, free: 1.539 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002374/0.3138, allocations: 162.9 kB / 436.3 MB, free: 1.379 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.853e-05/0.3138, allocations: 39.94 kB / 436.4 MB, free: 1.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/0.314, allocations: 55.98 kB / 436.4 MB, free: 1.285 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.394e-05/0.3141, allocations: 83.66 kB / 436.5 MB, free: 1.203 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001876/0.3142, allocations: 179 kB / 436.7 MB, free: 1.027 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006642/0.3149, allocations: 0.6045 MB / 437.3 MB, free: 432 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.3149, allocations: 0 / 437.3 MB, free: 432 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3149, allocations: 0 / 437.3 MB, free: 432 kB / 334.1 MB Notification: Performance of Transformations before backend: time 8.786e-06/0.3149, allocations: 0 / 437.3 MB, free: 432 kB / 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.001001/0.3159, allocations: 0.6764 MB / 438 MB, free: 15.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.316, allocations: 8.031 kB / 438 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.373e-05/0.3161, allocations: 82.7 kB / 438.1 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001916/0.3163, allocations: 76.11 kB / 438.1 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000654/0.3169, allocations: 351.5 kB / 438.5 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.196e-05/0.3169, allocations: 29 kB / 438.5 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.655e-05/0.317, allocations: 51.95 kB / 438.6 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007374/0.3177, allocations: 487.3 kB / 439 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/0.3178, allocations: 11.88 kB / 439 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.029e-05/0.3178, allocations: 20 kB / 439.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/0.3178, allocations: 15.98 kB / 439.1 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004992/0.3183, allocations: 242.1 kB / 439.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002486/0.3208, allocations: 2.676 MB / 442 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004288/0.3212, allocations: 154.6 kB / 442.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.3214, allocations: 65.16 kB / 442.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.571e-05/0.3215, allocations: 15.92 kB / 442.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.3215, allocations: 34.5 kB / 442.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 2.024e-06/0.3215, allocations: 7.875 kB / 442.3 MB, free: 11.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001258/0.3228, allocations: 0.5501 MB / 442.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.3228, allocations: 55.41 kB / 442.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003736/0.3232, allocations: 361.5 kB / 443.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.3232, allocations: 25.7 kB / 443.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000224/0.3234, allocations: 307.7 kB / 443.5 MB, free: 9.801 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.797e-05/0.3235, allocations: 71.45 kB / 443.6 MB, free: 9.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.693e-05/0.3236, allocations: 69.61 kB / 443.7 MB, free: 9.656 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.3238, allocations: 350.7 kB / 444 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.3239, allocations: 63.97 kB / 444.1 MB, free: 9.242 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002606/0.3241, allocations: 223.4 kB / 444.3 MB, free: 8.953 MB / 350.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.0009237/0.3251, allocations: 448.3 kB / 444.7 MB, free: 8.449 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3251, allocations: 4 kB / 444.7 MB, free: 8.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005996/0.3257, allocations: 361.7 kB / 445.1 MB, free: 8.082 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.3257, allocations: 4 kB / 445.1 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.3257, allocations: 8 kB / 445.1 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001503/0.3259, allocations: 36.84 kB / 445.1 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002475/0.3261, allocations: 72.47 kB / 445.2 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001371/0.3275, allocations: 1.527 MB / 446.7 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001602/0.3276, allocations: 16 kB / 446.8 MB, free: 6.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.3277, allocations: 12 kB / 446.8 MB, free: 6.293 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.0002058/0.3279, allocations: 177.6 kB / 446.9 MB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.53e-05/0.3279, allocations: 43.7 kB / 447 MB, free: 6.066 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.11e-05/0.328, allocations: 43.47 kB / 447 MB, free: 6.023 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.328, allocations: 0 / 447 MB, free: 6.023 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.328, allocations: 4.062 kB / 447 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.328, allocations: 4 kB / 447 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00098/0.329, allocations: 0.6125 MB / 447.7 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.329, allocations: 3.938 kB / 447.7 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.3292, allocations: 31.98 kB / 447.7 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.61e-05/0.3292, allocations: 24.84 kB / 447.7 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.3293, allocations: 4 kB / 447.7 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001092/0.3303, allocations: 1.327 MB / 449 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.3303, allocations: 0 / 449 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005479/0.3309, allocations: 375.8 kB / 449.4 MB, free: 3.445 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.73e-05/0.3309, allocations: 31.7 kB / 449.4 MB, free: 3.414 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.9e-05/0.331, allocations: 4 kB / 449.4 MB, free: 3.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.3311, allocations: 4 kB / 449.4 MB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.176e-05/0.3311, allocations: 19.95 kB / 449.5 MB, free: 3.387 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.3312, allocations: 4 kB / 449.5 MB, free: 3.383 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002486/0.3314, allocations: 239.2 kB / 449.7 MB, free: 3.156 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3314, allocations: 0 / 449.7 MB, free: 3.156 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000439/0.3318, allocations: 68 kB / 449.8 MB, free: 3.09 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.000866/0.3327, allocations: 0.9006 MB / 450.7 MB, free: 2.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005808/0.3333, allocations: 307.1 kB / 451 MB, free: 1.848 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3333, allocations: 0 / 451 MB, free: 1.848 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002337/0.3335, allocations: 174.6 kB / 451.1 MB, free: 1.664 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003611/0.3339, allocations: 41.48 kB / 451.2 MB, free: 1.621 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004329/0.3382, allocations: 3.356 MB / 454.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.3384, allocations: 215.1 kB / 454.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000124/0.3386, allocations: 43.2 kB / 454.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002115/0.3388, allocations: 155.4 kB / 454.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of SimCode: time 9.01e-07/0.3388, allocations: 0 / 454.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04755/0.3863, allocations: 6.914 MB / 461.9 MB, free: 6.898 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.26, allocations: 15.36 kB / 461.9 MB, free: 6.887 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs.fmu > Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.csv. Warning: Get data of variable directCapacity.heatCapacitor.T from file Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.707611097954214]