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.0007936/0.0007936, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008019/0.0008019, allocations: 174 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8794/0.8794, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.383e-06/1.383e-06, allocations: 0 / 324.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.642e-05/1.78e-05, allocations: 2.281 kB / 324.5 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.002686/0.002704, allocations: 2.833 MB / 327.4 MB, free: 13.1 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.003829, allocations: 0.9978 MB / 328.4 MB, free: 12.1 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000143/0.003972, allocations: 19.81 kB / 328.4 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001765/0.004148, allocations: 91.11 kB / 328.5 MB, free: 11.99 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001233/0.004272, allocations: 114.8 kB / 328.6 MB, free: 11.88 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000399/0.004671, allocations: 227.5 kB / 328.8 MB, free: 11.66 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003689/0.005039, allocations: 0.5608 MB / 329.4 MB, free: 11.09 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001985/0.005238, allocations: 139.2 kB / 329.5 MB, free: 10.96 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000252/0.00549, allocations: 267.4 kB / 329.8 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.005613, allocations: 127.5 kB / 329.9 MB, free: 10.57 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.422e-05/0.005647, allocations: 36 kB / 329.9 MB, free: 10.54 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.259e-05/0.00573, allocations: 59.88 kB / 330 MB, free: 10.48 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.092e-05/0.005771, allocations: 91.61 kB / 330.1 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.237e-05/0.005853, allocations: 143.6 kB / 330.2 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003832/0.006237, allocations: 0.5722 MB / 330.8 MB, free: 9.672 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.006238, allocations: 0 / 330.8 MB, free: 9.672 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.006239, allocations: 0 / 330.8 MB, free: 9.672 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.006245, allocations: 0 / 330.8 MB, free: 9.672 MB / 298.7 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.0006198/0.006864, allocations: 0.6835 MB / 331.5 MB, free: 8.957 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.006899, allocations: 12.03 kB / 331.5 MB, free: 8.945 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.525e-05/0.006954, allocations: 86.7 kB / 331.6 MB, free: 8.852 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/0.007069, allocations: 72.11 kB / 331.6 MB, free: 8.781 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003821/0.007451, allocations: 351.5 kB / 332 MB, free: 8.406 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.00747, allocations: 33 kB / 332 MB, free: 8.375 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.994e-05/0.00751, allocations: 39.95 kB / 332.1 MB, free: 8.336 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004331/0.007943, allocations: 491.4 kB / 332.5 MB, free: 7.781 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.007959, allocations: 3.938 kB / 332.5 MB, free: 7.777 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.212e-05/0.007981, allocations: 20 kB / 332.6 MB, free: 7.758 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-06/0.007989, allocations: 11.94 kB / 332.6 MB, free: 7.746 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000291/0.00828, allocations: 246.2 kB / 332.8 MB, free: 7.508 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001357/0.009637, allocations: 2.676 MB / 335.5 MB, free: 4.695 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002761/0.009913, allocations: 142.7 kB / 335.6 MB, free: 4.547 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.791e-05/0.009991, allocations: 72.81 kB / 335.7 MB, free: 4.473 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.055e-05/0.01006, allocations: 4 kB / 335.7 MB, free: 4.469 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.01008, allocations: 42.77 kB / 335.7 MB, free: 4.418 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.172e-06/0.01008, allocations: 0 / 335.7 MB, free: 4.418 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007849/0.01087, allocations: 0.5647 MB / 336.3 MB, free: 3.82 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.0109, allocations: 55.41 kB / 336.4 MB, free: 3.754 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000223/0.01112, allocations: 357.5 kB / 336.7 MB, free: 3.391 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.01113, allocations: 29.7 kB / 336.7 MB, free: 3.355 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.01127, allocations: 307.7 kB / 337 MB, free: 3.051 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/0.0113, allocations: 59.48 kB / 337.1 MB, free: 2.992 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.403e-05/0.01136, allocations: 69.61 kB / 337.2 MB, free: 2.918 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.213e-05/0.01145, allocations: 346.8 kB / 337.5 MB, free: 2.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.338e-05/0.01154, allocations: 71.75 kB / 337.6 MB, free: 2.5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.01168, allocations: 232.5 kB / 337.8 MB, free: 2.203 MB / 298.7 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.0005429/0.01223, allocations: 442.3 kB / 338.2 MB, free: 1.703 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.01223, allocations: 0 / 338.2 MB, free: 1.703 MB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000345/0.01257, allocations: 360.2 kB / 338.6 MB, free: 1.344 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.01259, allocations: 8 kB / 338.6 MB, free: 1.336 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.01259, allocations: 4.688 kB / 338.6 MB, free: 1.332 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.796e-05/0.01269, allocations: 40.83 kB / 338.6 MB, free: 1.289 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.01282, allocations: 83.83 kB / 338.7 MB, free: 1.207 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008283/0.01365, allocations: 1.516 MB / 340.2 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.431e-05/0.01373, allocations: 12 kB / 340.3 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.01375, allocations: 23.98 kB / 340.3 MB, free: 15.54 MB / 314.7 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.0001334/0.01388, allocations: 169.7 kB / 340.4 MB, free: 15.37 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.06e-05/0.01391, allocations: 35.77 kB / 340.5 MB, free: 15.33 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.803e-05/0.01395, allocations: 43.53 kB / 340.5 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.01396, allocations: 4 kB / 340.5 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.01396, allocations: 3.984 kB / 340.5 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.01396, allocations: 0 / 340.5 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005749/0.01454, allocations: 0.6086 MB / 341.1 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.01454, allocations: 3.938 kB / 341.1 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.152e-05/0.01463, allocations: 31.98 kB / 341.2 MB, free: 14.58 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.721e-05/0.01468, allocations: 24.84 kB / 341.2 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.01469, allocations: 8.172 kB / 341.2 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006309/0.01532, allocations: 1.334 MB / 342.5 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.01532, allocations: 3.938 kB / 342.5 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003221/0.01564, allocations: 365.2 kB / 342.9 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.379e-05/0.01567, allocations: 31.77 kB / 342.9 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.01568, allocations: 0 / 342.9 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.815e-05/0.01574, allocations: 12.03 kB / 342.9 MB, free: 12.67 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.464e-05/0.01577, allocations: 12.05 kB / 343 MB, free: 12.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.01578, allocations: 4 kB / 343 MB, free: 12.65 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000153/0.01593, allocations: 239.2 kB / 343.2 MB, free: 12.42 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01593, allocations: 0 / 343.2 MB, free: 12.42 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002887/0.01622, allocations: 71.98 kB / 343.3 MB, free: 12.35 MB / 314.7 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.0004837/0.01671, allocations: 0.896 MB / 344.2 MB, free: 11.43 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003834/0.01709, allocations: 306.4 kB / 344.5 MB, free: 11.12 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.01709, allocations: 0 / 344.5 MB, free: 11.12 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.01723, allocations: 180 kB / 344.6 MB, free: 10.93 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002283/0.01745, allocations: 37.5 kB / 344.7 MB, free: 10.89 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002561/0.02002, allocations: 3.277 MB / 347.9 MB, free: 7.383 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000137/0.02015, allocations: 215.2 kB / 348.2 MB, free: 7.148 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.134e-05/0.02023, allocations: 35.27 kB / 348.2 MB, free: 7.113 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.02036, allocations: 156.4 kB / 348.3 MB, free: 6.961 MB / 314.7 MB Notification: Performance of SimCode: time 6.11e-07/0.02036, allocations: 0 / 348.3 MB, free: 6.961 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01865/0.03901, allocations: 7.065 MB / 355.4 MB, free: 72 kB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.832/6.871, allocations: 3.938 kB / 355.4 MB, free: 68 kB / 314.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/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: 8.454372838139534]