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.001253/0.001253, allocations: 121 kB / 18.5 MB, free: 4.562 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.001275/0.001275, allocations: 213.5 kB / 21.45 MB, free: 1.617 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.416/1.416, allocations: 230.6 MB / 254.8 MB, free: 15.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 47.94 kB / 373.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1029, allocations: 53.33 MB / 427 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004406/0.1073, allocations: 3.077 MB / 430.1 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001737/0.109, allocations: 1.037 MB / 431.1 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001633/0.1092, allocations: 15.88 kB / 431.1 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000243/0.1094, allocations: 95.05 kB / 431.2 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001752/0.1096, allocations: 99 kB / 431.3 MB, free: 460 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005275/0.1101, allocations: 231.6 kB / 431.5 MB, free: 228 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.1794/0.2895, allocations: 0.5405 MB / 432.1 MB, free: 7.637 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004113/0.2899, allocations: 150.8 kB / 432.2 MB, free: 7.605 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004337/0.2904, allocations: 185.6 kB / 432.4 MB, free: 7.574 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003076/0.2907, allocations: 182.6 kB / 432.6 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.725e-05/0.2908, allocations: 36.62 kB / 432.6 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001742/0.2909, allocations: 58.19 kB / 432.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.608e-05/0.291, allocations: 90.47 kB / 432.8 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002036/0.2912, allocations: 226.1 kB / 433 MB, free: 7.418 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006353/0.2918, allocations: 0.5878 MB / 433.6 MB, free: 7.312 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2918, allocations: 3.938 kB / 433.6 MB, free: 7.312 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2918, allocations: 4.875 kB / 433.6 MB, free: 7.312 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.917e-05/0.2919, allocations: 0 / 433.6 MB, free: 7.312 MB / 350.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.000951/0.2928, allocations: 0.7559 MB / 434.4 MB, free: 6.789 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.2928, allocations: 9.562 kB / 434.4 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.714e-05/0.2929, allocations: 12.06 kB / 434.4 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.892e-05/0.2929, allocations: 78.22 kB / 434.4 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002068/0.2931, allocations: 70.41 kB / 434.5 MB, free: 6.719 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005522/0.2937, allocations: 424.2 kB / 434.9 MB, free: 6.473 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.698e-05/0.2937, allocations: 31.66 kB / 435 MB, free: 6.469 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.61e-05/0.2938, allocations: 46.73 kB / 435 MB, free: 6.465 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000626/0.2944, allocations: 489.6 kB / 435.5 MB, free: 6.246 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.549e-05/0.2944, allocations: 7.828 kB / 435.5 MB, free: 6.246 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.172e-05/0.2945, allocations: 20.03 kB / 435.5 MB, free: 6.246 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.2945, allocations: 11.88 kB / 435.5 MB, free: 6.246 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004631/0.2949, allocations: 241.2 kB / 435.8 MB, free: 6.246 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001816/0.2967, allocations: 2.822 MB / 438.6 MB, free: 4.023 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004193/0.2972, allocations: 158.9 kB / 438.7 MB, free: 3.992 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.2973, allocations: 63.22 kB / 438.8 MB, free: 3.984 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001106/0.2974, allocations: 87 kB / 438.9 MB, free: 3.891 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.553e-05/0.2974, allocations: 33.66 kB / 438.9 MB, free: 3.852 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.373e-06/0.2974, allocations: 0 / 438.9 MB, free: 3.852 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001222/0.2986, allocations: 0.6387 MB / 439.6 MB, free: 3.488 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.45e-05/0.2987, allocations: 53.81 kB / 439.6 MB, free: 3.426 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003711/0.299, allocations: 349.5 kB / 439.9 MB, free: 3.305 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.2991, allocations: 27.17 kB / 440 MB, free: 3.273 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.2992, allocations: 312.3 kB / 440.3 MB, free: 3.086 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.403e-05/0.2993, allocations: 64.06 kB / 440.3 MB, free: 3.047 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.556e-05/0.2993, allocations: 64.36 kB / 440.4 MB, free: 3.027 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.613e-05/0.2994, allocations: 352.2 kB / 440.7 MB, free: 2.711 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.2996, allocations: 64.95 kB / 440.8 MB, free: 2.707 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.2997, allocations: 219.2 kB / 441 MB, free: 2.492 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.0008569/0.3006, allocations: 0.5142 MB / 441.5 MB, free: 2.105 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.3006, allocations: 5.125 kB / 441.5 MB, free: 2.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005473/0.3012, allocations: 360.7 kB / 441.9 MB, free: 1.961 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.3012, allocations: 10.92 kB / 441.9 MB, free: 1.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.3012, allocations: 4.469 kB / 441.9 MB, free: 1.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001354/0.3013, allocations: 37.98 kB / 442 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002296/0.3015, allocations: 73.91 kB / 442 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009174/0.3025, allocations: 1.635 MB / 443.7 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001732/0.3026, allocations: 11.45 kB / 443.7 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/0.3027, allocations: 19.41 kB / 443.7 MB, free: 348 kB / 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.0001615/0.3028, allocations: 175.5 kB / 443.9 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.624e-05/0.3029, allocations: 35.97 kB / 443.9 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.483e-05/0.3029, allocations: 43.3 kB / 443.9 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3029, allocations: 1.094 kB / 443.9 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3029, allocations: 4.828 kB / 443.9 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.303, allocations: 0.7031 kB / 443.9 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/0.3041, allocations: 0.7124 MB / 444.7 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3041, allocations: 3.812 kB / 444.7 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000173/0.3042, allocations: 36.73 kB / 444.7 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-05/0.3043, allocations: 23 kB / 444.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.3043, allocations: 9.75 kB / 444.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001146/0.3055, allocations: 1.431 MB / 446.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3055, allocations: 0 / 446.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005511/0.306, allocations: 373 kB / 446.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.948e-05/0.3061, allocations: 106.3 kB / 446.6 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.844e-05/0.3062, allocations: 1.828 kB / 446.6 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.3063, allocations: 7.141 kB / 446.6 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.563e-05/0.3063, allocations: 10.62 kB / 446.6 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.3063, allocations: 11.8 kB / 446.7 MB, free: 13.81 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000259/0.3066, allocations: 233.5 kB / 446.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3066, allocations: 0 / 446.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004378/0.307, allocations: 71.88 kB / 447 MB, free: 13.68 MB / 366.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.0008689/0.3079, allocations: 0.9048 MB / 447.9 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006581/0.3086, allocations: 309.2 kB / 448.2 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3086, allocations: 0.5625 kB / 448.2 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002679/0.3088, allocations: 180.5 kB / 448.3 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.3092, allocations: 47.19 kB / 448.4 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00458/0.3138, allocations: 3.35 MB / 451.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004876/0.3142, allocations: 0.8168 MB / 452.6 MB, free: 9.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000126/0.3144, allocations: 38.91 kB / 452.6 MB, free: 9.496 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002222/0.3146, allocations: 156.5 kB / 452.7 MB, free: 9.379 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3146, allocations: 0 / 452.7 MB, free: 9.379 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03116/0.3458, allocations: 6.386 MB / 459.1 MB, free: 8.328 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.859/10.2, allocations: 8.703 kB / 459.1 MB, free: 8.324 MB / 366.1 MB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.553769670950714]