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.001217/0.001217, allocations: 109.6 kB / 21.18 MB, free: 0.6992 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.001402/0.001402, allocations: 216.7 kB / 24.5 MB, free: 4.027 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.464/1.464, allocations: 207.6 MB / 235.3 MB, free: 10.02 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.001822/0.001822, allocations: 51.92 kB / 347.2 MB, free: 10.07 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2988, allocations: 49.16 MB / 396.3 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004224/0.303, allocations: 3.082 MB / 399.4 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002081/0.3051, allocations: 1.017 MB / 400.4 MB, free: 6.074 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003064/0.3054, allocations: 18.56 kB / 400.5 MB, free: 6.062 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002765/0.3057, allocations: 94.36 kB / 400.5 MB, free: 5.996 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001899/0.3059, allocations: 102.4 kB / 400.6 MB, free: 5.918 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005934/0.3065, allocations: 225.2 kB / 400.9 MB, free: 5.785 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005902/0.3071, allocations: 0.5332 MB / 401.4 MB, free: 5.512 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003275/0.3074, allocations: 153.8 kB / 401.5 MB, free: 5.414 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002491/0.3076, allocations: 189.2 kB / 401.7 MB, free: 5.316 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000229/0.3079, allocations: 177.1 kB / 401.9 MB, free: 5.215 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.769e-05/0.3079, allocations: 36.97 kB / 401.9 MB, free: 5.215 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.3081, allocations: 50.09 kB / 402 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.969e-05/0.3081, allocations: 91.84 kB / 402.1 MB, free: 5.145 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001749/0.3083, allocations: 229.4 kB / 402.3 MB, free: 4.992 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007531/0.3091, allocations: 0.5822 MB / 402.9 MB, free: 4.746 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.81e-06/0.3091, allocations: 2.594 kB / 402.9 MB, free: 4.746 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3091, allocations: 0 / 402.9 MB, free: 4.746 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.3091, allocations: 0 / 402.9 MB, free: 4.746 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.0009842/0.3101, allocations: 0.6754 MB / 403.6 MB, free: 4.23 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.3101, allocations: 14.73 kB / 403.6 MB, free: 4.227 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.176e-05/0.3102, allocations: 81.19 kB / 403.7 MB, free: 4.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.3103, allocations: 63.72 kB / 403.7 MB, free: 4.125 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006593/0.311, allocations: 354.7 kB / 404.1 MB, free: 3.875 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.867e-05/0.311, allocations: 29.5 kB / 404.1 MB, free: 3.863 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.133e-05/0.3111, allocations: 46.55 kB / 404.1 MB, free: 3.844 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007858/0.3119, allocations: 484.5 kB / 404.6 MB, free: 3.5 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.542e-05/0.3119, allocations: 10.09 kB / 404.6 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.292e-05/0.3119, allocations: 17.56 kB / 404.6 MB, free: 3.48 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.784e-05/0.3119, allocations: 12.34 kB / 404.7 MB, free: 3.48 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004743/0.3124, allocations: 250 kB / 404.9 MB, free: 3.383 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001843/0.3143, allocations: 2.752 MB / 407.6 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00044/0.3147, allocations: 149.4 kB / 407.8 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/0.3148, allocations: 68.44 kB / 407.9 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00013/0.315, allocations: 10.88 kB / 407.9 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.315, allocations: 43.34 kB / 407.9 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 2.224e-06/0.315, allocations: 0 / 407.9 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001324/0.3163, allocations: 0.5469 MB / 408.5 MB, free: 424 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.3163, allocations: 53.5 kB / 408.5 MB, free: 360 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003563/0.3167, allocations: 346.6 kB / 408.9 MB, free: 176 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.3167, allocations: 31.17 kB / 408.9 MB, free: 140 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002268/0.3169, allocations: 311.2 kB / 409.2 MB, free: 15.88 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.231e-05/0.317, allocations: 67.28 kB / 409.3 MB, free: 15.83 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.3171, allocations: 70.14 kB / 409.3 MB, free: 15.78 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.3173, allocations: 349.3 kB / 409.7 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.3174, allocations: 63.77 kB / 409.7 MB, free: 15.43 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002595/0.3177, allocations: 216.4 kB / 409.9 MB, free: 15.21 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.0009503/0.3186, allocations: 450 kB / 410.4 MB, free: 14.89 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.3186, allocations: 2.75 kB / 410.4 MB, free: 14.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006564/0.3193, allocations: 363.7 kB / 410.7 MB, free: 14.71 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.3193, allocations: 6.875 kB / 410.7 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.3193, allocations: 5.5 kB / 410.7 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000157/0.3195, allocations: 33.53 kB / 410.8 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002632/0.3198, allocations: 82.56 kB / 410.9 MB, free: 14.69 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001532/0.3213, allocations: 1.534 MB / 412.4 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.3215, allocations: 15.09 kB / 412.4 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.26e-05/0.3215, allocations: 18.66 kB / 412.4 MB, free: 13.19 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.0002429/0.3217, allocations: 174.6 kB / 412.6 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.953e-05/0.3218, allocations: 36.55 kB / 412.6 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.3e-05/0.3219, allocations: 38.39 kB / 412.7 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.3219, allocations: 3.375 kB / 412.7 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.3219, allocations: 4.062 kB / 412.7 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.3219, allocations: 1.656 kB / 412.7 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00128/0.3232, allocations: 0.6753 MB / 413.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.3232, allocations: 2.109 kB / 413.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001813/0.3234, allocations: 31.61 kB / 413.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.833e-05/0.3234, allocations: 27.28 kB / 413.4 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/0.3235, allocations: 14.03 kB / 413.4 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001196/0.3247, allocations: 1.327 MB / 414.8 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3247, allocations: 4.062 kB / 414.8 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005807/0.3252, allocations: 367.7 kB / 415.1 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.318e-05/0.3253, allocations: 30.31 kB / 415.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.3253, allocations: 1.625 kB / 415.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.3254, allocations: 11.36 kB / 415.2 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.239e-05/0.3255, allocations: 19.28 kB / 415.2 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.3255, allocations: 7.797 kB / 415.2 MB, free: 10.86 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003176/0.3258, allocations: 233.2 kB / 415.4 MB, free: 10.74 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3258, allocations: 0 / 415.4 MB, free: 10.74 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004982/0.3263, allocations: 68.06 kB / 415.5 MB, free: 10.73 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.0009905/0.3273, allocations: 0.9087 MB / 416.4 MB, free: 9.941 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006594/0.328, allocations: 299.5 kB / 416.7 MB, free: 9.77 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.328, allocations: 0 / 416.7 MB, free: 9.77 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002683/0.3282, allocations: 187.6 kB / 416.9 MB, free: 9.625 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/0.3286, allocations: 33.44 kB / 416.9 MB, free: 9.605 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004758/0.3334, allocations: 3.341 MB / 420.2 MB, free: 7.098 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005288/0.3339, allocations: 0.8101 MB / 421 MB, free: 6.348 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001343/0.334, allocations: 38.52 kB / 421.1 MB, free: 6.332 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002096/0.3342, allocations: 167.3 kB / 421.2 MB, free: 6.188 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3342, allocations: 0 / 421.2 MB, free: 6.188 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03935/0.3736, allocations: 6.576 MB / 427.8 MB, free: 2.617 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.13, allocations: 0 / 427.8 MB, free: 2.617 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.588260431999515]